Hi,
I’ve tried a couple of times to get MQTT switches (Tasmota) to properly utilize the RETAIN flag and have correct status upon HA reboot. But no matter what it seems I must wait the 300 seconds for Tasmota to send the tele update. I have properly set the PowerRetain 1 option from the console, and if I subscribe using eg mosquitto_sub to tasmota/stat/POWER i get the ON status immediately so the RETAIN does seem to work and is set on the broker (mosquitto, not the HA integrated)
But when I look at the mqtt config for the device in HA, it doesn’t appear to be actually subscribing to the tasmota/stat/POWER topic, only the tasmota/tele topic?
Is there some update or config change needed to get the proper stat subscription to HA?