guerrerotook / securitas-direct-new-api

This repository contains the new securitas direct API that can be integrated in Home Assistant
Apache License 2.0
76 stars 30 forks source link

Fixes https://github.com/guerrerotook/securitas-direct-new-api/issues/175 #177

Closed cantupaz closed 8 months ago

cantupaz commented 9 months ago

I did a little bit of additional cleanup, but the important change is in check_code()

cantupaz commented 9 months ago

I made some changes to config_flow.py to allow arming and disarming without a code (the code was looking for an inexistent key and crashing).

I also did some minor organization of imports and constants for default values.

I hope you find this useful. Thanks for your work creating this integration.

guerrerotook commented 8 months ago

Thanks for the PR @cantupaz , can you resolve your conflicts please?

cantupaz commented 8 months ago

I'll send a new PR in a little bit