Mqtt entity not available

after every reboot I get this on all my esphome bruh multisensors. anyone got any idea why? I cant figure out how to fix this issue i just keep restarting things until it shows up

also the yellow/white text is HORRIBLE!!

think you need to take out the “optimistic” and the “retain”

i took out the optimistic from my life years ago… this will never work… AY>…AY

ba doom tish

Ok have u tryed mqtt.fx that let i see the mqtt traffic that mote help u

nice tip will check it out i use the frenck webui for that mostly

These are likely sensors that

  1. don’t use the retain option
  2. only send updates periodically.

So when you restart the sensor will show as unavailable until the next time the sensor updates.

Try just waiting for the sensor to send it’s next update.

What do your logs say on the dev info page?

Same issue but did found a workaround. I have submit a bug issue.

Try to do a restart of HASS service only not host reboot and see if you have the same behavior. For me it is the MQTT service that is not ready when HASSIO is trying to connect and fail. Consequence I have all my lights in yellow.

You are the MVP. :wink:

I have resubmit the issue in Home Assistant github since moderator closed it due to fact it is not a ADD-ON issue but more on Home Assistant issue. https://github.com/home-assistant/home-assistant/issues/22146