def do_setAutoPowerStandby(self, enable): """ For setting Auto Power Standby status. Actual operations/reactions of enabling Auto Power Standby depend on each Device. Usage: setAutoPowerStandby <true|false> <enter> """ enable = True if enable == 'true' else False resp = DEV.request(System.set_autopower_standby(enable)) pprint.pprint(resp.json())
def do_setAutoPowerStandby(self, _): resp = DEV.request(System.set_autopower_standby()) pprint.pprint(resp.json())