Closed
Description
I'm trying to create an easier integration for zigbee2mqtt in home assistant as "MQTT lock". It also works without customization in homekit and is quite easy to control and setup because it is just one entry in your configuration file. Everything works so far https://gist.github.com/ophilips/8146ff802119bf6eb8ae5915851ad6d4 but sometimes it switches to the wrong state after a restart. I tried to set the retain flag and set the state_topic to the same topic as command_topic but it would be more reliable to get the real state.
Metadata
Assignees
Labels
No labels
Activity