Open jmluzio opened 11 months ago
Dear bitcanon,
Would it be possible to include a method "STAY" to comply with the option on DSC alarms?
Something like this would suffice! Thanks!
def arm_stay(self, partition): """ Arm in Home mode. """ arm_info = {'partition': partition, 'state': 'STAY'} arm_json = json.dumps(arm_info, separators=(',', ':')) return self.__send_request(self.__url_set_state, data_json=arm_json, request_type='POST')
Dear bitcanon,
Would it be possible to include a method "STAY" to comply with the option on DSC alarms?
Something like this would suffice! Thanks!
def arm_stay(self, partition): """ Arm in Home mode. """ arm_info = {'partition': partition, 'state': 'STAY'} arm_json = json.dumps(arm_info, separators=(',', ':')) return self.__send_request(self.__url_set_state, data_json=arm_json, request_type='POST')