You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've added some code to my configuration.yaml in homeassistant to create a sensor for the doorbell and also a button / lock for the opener. After restart the devices get unavailable until the Bus Sensor changes it's state.
Perhaps we could fix this by retaining the messages?
here is my config for homeassistant, perhaps you want to add it to the homeassistant section or even better the firmware creates the devices with ha-discovery.
Perhaps we could fix this by retaining the messages?
You mean by setting the retain flag of the MQTT messages sent by the adapter?
perhaps you want to add it to the homeassistant section or even better the firmware creates the devices with ha-discovery
I just improved the HA docs a bit with gdoor-org/gdoor-org.github.io#4, but not really covering what you suggested.
I like your ideas, we had a similar discussion before: #26
Maybe a simple (but not perfect) solution would be to just publish a HA auto-discovery device config for a few typical actions like BUTTON_RING and OPEN_DOOR. I think for the buttons this could be straight-forward, so HA would create a new sensor when a button is pressed for the first time. This may also work for the door locks?!
jschroeter
changed the title
MQTT Messages lost after restart
MQTT Messages lost after restart / more HA devices
Dec 27, 2024
I've added some code to my configuration.yaml in homeassistant to create a sensor for the doorbell and also a button / lock for the opener. After restart the devices get unavailable until the Bus Sensor changes it's state.
Perhaps we could fix this by retaining the messages?
here is my config for homeassistant, perhaps you want to add it to the homeassistant section or even better the firmware creates the devices with ha-discovery.
The text was updated successfully, but these errors were encountered: