explosivo22 / kwikset-ha

Kwikset Smart Locks integration for Home Assistant. The Kwikset App is exclusively for use with Kwikset Halo, Halo Touch, and Aura smart locks.
Apache License 2.0
34 stars 2 forks source link

[Enhancement] Configurable polling frequency #47

Open rcork opened 1 year ago

rcork commented 1 year ago

I've modified device.py to change the default update interval from 30 seconds to 5. Is there a reason why this can't be user configurable? I've changed mine to 5 as i have exposed the lock via Apple Homekit HA integration and found the 30s to be too long for some automations that i want triggered based on lock status.

explosivo22 commented 1 year ago

I have it at 30 seconds just because I didn't want to be responsible for kwikset to get upset and start seeing too many queries considering this was a reverse engineer of there stuff. I will look into making it configurable per user and maybe that won't upset them. If it does, then maybe just on a user by user basis.