The problem is that in my dashboard the status of my smoke detector is unavailable.
In mqtt configuration yaml file I have setup the configuration as follows. As a Smoke detector in normal circumstance is not going off that often I look at the LWT of my Sonoff bridge. If I look with my mqtt client I see that the LWT is Online. Any idea what I’m doing wrong?
- name: "Smoke Eathon"
unique_id: "smoke_eathon_room"
state_topic: "tele/sonoffbridge1st/RESULT"
availability:
- topic: "tele/sonoffbridge1st/LWT"
value_template: "{{ value }}"
payload_available: "Online"
payload_not_available: "Offline"
value_template: "{{value_json.RfReceived.Data}}"
off_delay: 5
qos: 1
payload_on: "648E86"
device_class: smoke