Hi Guys,
i wanted that implement that when I press number GPIO0 button I toggle the entity light.garage_lights (zigbee lights)
With this code I’m getting this error “Unable to find action with the name ‘light.toggle’.
light.toggle: light.garage_lights [source /config/esphome/garagesensor01.yaml:57]” with this
binary_sensor:
- platform: gpio
name: "Garage Motion"
device_class: motion
pin:
number: GPIO1
- platform: gpio
name: "Garage Button"
pin:
number: GPIO0
inverted: True
on_click:
- min_length: 50ms
max_length: 350ms
then:
- light.toggle: light.garage_lights