As described in the title. If I restart / reload the MQTT integration or restart the whole Home Assistant, all devices / entities that are integrated via MQTT are not available in HA.
I come from a HA Docker container version back to HAOS. If I have observed it correctly, the problem only occurs since switching to HAOS.
I use Mosquitto as MQTT broker in a docker container.
The solutions in this older post marked as solved are no longer valid or do not work.
https://community.home-assistant.io/t/zigbee2mqtt-device-unavailable-after-ha-restart/166413
mqtt:
discovery: true
broker: 192.168.x.x
birth_message:
topic: 'hass/status'
payload: 'online'
will_message:
topic: 'hass/status'
payload: 'offline'
bitrh_meaasge is no longer allowed in configuration.yaml
Sending
action:
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- service: mqtt.publish
data:
topic: hass/status
payload: online
do not solve the issue.
Can someone point me to the actual solution of this problem?