kvj / hass_nuki_ng

Better support for Nuki devices in the Home Assistant
MIT License
167 stars 32 forks source link

Improvement idea for the door sensor accuracy #159

Open xkuyax opened 10 months ago

xkuyax commented 10 months ago

Hey, thank you very much for the great integration!

One small issue for me is that if i open & close the door too fast the state of the door sensor does not change (which does happen more often than not) image Like in this example i opened and closed the door in the timespan of 15s or so. The app with the activity log shows the door opened & closed, but not the door state in HA. Do you think it would make sense to fetch this information from the activity log and then update the state of the door retrospectively (not sure if thats even supported from HA?) or do something similar to the "Last Unlock User" and add a "Last Door Open" or something similar?

(if i wanted to do this myself i could do this in the web_get_last_unlock_log or?)