Hi all!
Should be an easy one, i had this working fine then was messing around with something else in config and lost it all. And the last backup was before adding the garage door config…
So i have an esp device running tasmota that controls my garage door with a relay and 2 limit switches to indicate open and closed thru mqtt.
I have 2 entities that would show the change, now i just get “unknown” on the entities.
When i listen to the topic of the tasmota i can see the limit switch states change.
as such -
Here’s the part from my configuration.yaml.
After i lost the working config, this is what i have remembered and i know ive forgotten something.
Can anyone spot the issue?
I could be completely wrong too haha
I suspect its in the value_json
binary_sensor:
- name: "Roller_Door_Open"
state_topic: "tele/Roller_Door/SENSOR"
device_class: garage_door
payload_on: "Open"
payload_off: "Closed"
value_template: "{{ value_json.Switch2 }}"
- name: "Roller_Door_Closed"
state_topic: "tele/Roller_Door/SENSOR"
device_class: garage_door
payload_on: "Open"
payload_off: "Closed"
value_template: "{{ value_json.Switch3 }}"
Thanks!