This is an automated archive made by the Lemmit Bot.
The original was posted on /r/homeassistant by /u/ArrogantBastard16 on 2023-06-27 23:42:35+00:00.
Hello all,
I wired 2 shelly plus 1 devices to my 2 garage door openers. Using the Tasmota integration, I can control them both from home assistant. My issue is with the reed sensors and yaml. I use MQTT to see the status of the door and wrote this code that works-
binary_sensor:
name: "Gym Door State"
state_topic: "stat/Gym_door/status"
payload_on: "open"
payload_off: "closed"
availability_topic: "tele/Gym_door/LWT"
payload_available: "Online"
payload_not_available: "Offline"
qos: 1
device_class: opening
The issue is when I attempt to do the same thing for the second sensor i get the error "duplicate key". This is probably a very easy fix, but if someone could please explain like I'm 5, id be very grateful