Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Integration with DSC alarms #27

Open
jmluzio opened this issue Nov 3, 2023 · 0 comments
Open

Integration with DSC alarms #27

jmluzio opened this issue Nov 3, 2023 · 0 comments

Comments

@jmluzio
Copy link

jmluzio commented Nov 3, 2023

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')

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant