Hello,
I’m new to Hassio, and I’m trying to create two switches but extra switch is showing here which control other switches.
switch:
- platform: gpio
pin: 2
id: relay
- platform: gpio
pin: 3
id: relay3
- platform: template
name: "Gate Remote"
id: relay2
optimistic: true
turn_on_action:
- switch.turn_on: relay
- platform: template
name: "Gate Remote2"
id: relay4
optimistic: true
turn_off_action:
- switch.turn_off: relay
binary_sensor:
- platform: gpio
name: "Living Room Window"
pin:
number: 2
mode: OUTPUT