

def set_switch_toggle(self, ain):
    'Toggle a power switch and return the new state'
    return ain.homeautoswitch('setswitchtoggle', ain)

dataset/ETHPy150Open DerMitch/fritzbox-smarthome/fritzhome/fritz.py FritzBox.set_switch_toggle/VarMisuse@15/36 `self`->`ain`