Hi All,
Could i get some advice, I’m new to HA, have just setup MQTT (embeded) and my switch is marked as unavailable (using a flashed sonnof tasmota).
my configuration.yaml;
mqtt:
switch:
- platform: mqtt
name: "Immersion Heater"
state_topic: "stat/sonoff_immersion/POWER"
command_topic: "cmnd/sonoff_immersion/POWER"
availability_topic: "tele/sonoff/LWT"
qos: 1
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: true
my Tasmota settings:
Host: 192.168.0.66
Port: 1883
Client: sonoff_immersion
Username: homeassistant
Password:
Topic: sonoff_immersion
Full Topic: %prefix%/%topic%/
I don’t get any errors in the dev-info, and i can get to my sonoff switching using its native http access and toggling it works.