kvj / hass_nuki_ng

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

Wrong State of Sensor if opener continous mode is active #162

Open tristanXme opened 9 months ago

tristanXme commented 9 months ago

Hello,

when the opener continous mode is active, the sensor "lock.nuki_haustur_lock" reports "locked" when it should be "unlocked".

Could you please fix that?

Thank you! :)

tristanXme commented 9 months ago

Tried to have a closer look:

If webAPI /smartlock/{smartlockId}

responses:

type: 2 and smartlock.state is mode = 3

than the door sensor for the opener has to be "open" as well - that does not seem to be supported currently.

https://api.nuki.io/#/Smartlock/SmartlockResource_get_get