Sonoff availability Topic not working

Hello i am using the following switch but HA telling me the switch is unavailible.

if i comment out the availability topic the switch is working fine, but when the sonoff is offline i cannot see it in HA

- platform: mqtt
name: "Sonoff1"
state_topic: "stat/sonoff1/POWER"
command_topic: "cmnd/sonoff1/POWER"
availability_topic: "tele/sonoff1/LWT"
payload_availible: "Online"
payload_not_availible: "Offline"
payload_on: "ON"
payload_off: "OFF"
retain: false

Typos in the word available?

Damn your right, i didn’t noticed it

Thanks (shaming me)

1 Like