kvj / hass_nuki_ng

Better support for Nuki devices in the Home Assistant
MIT License
185 stars 36 forks source link

Feature request: Allow external door sensors #61

Open sevorl opened 2 years ago

sevorl commented 2 years ago

It would be nice to be able to configure an external door sensor (like aqara) instead of the nuki door sensor and combine this with the lock state to calculate the overall door state.

I had a door sensor before I bought the nuki so I don't want to buy a nuki door sensor.

alexdelprete commented 2 years ago

You can do it with HA template lock: check the state of the Aqara and the lock, and add the basic logic to create a custom lock state.

https://www.home-assistant.io/integrations/lock.template/

prigal commented 1 year ago

You can do it with HA template lock: check the state of the Aqara and the lock, and add the basic logic to create a custom lock state.

https://www.home-assistant.io/integrations/lock.template/

Hello, I'm interested in using my aqara sensor state but I can't get your solution. Could you give us an example please? Thank you very much.