Hi,
I configured mott like this:
- platform: mqtt
name: "sonoff-basic_02"
state_topic: "stat/sonoff_basic_02/POWER"
command_topic: "cmnd/sonoff_basic_02/POWER"
qos: 0
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
optimistic: false
The problem is when I reboot hass I don’t get correct status from device. Status is alway off after reboot has (if I look on device is on).
How to get correct ststus form device after hass restart?