You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the base yaml there's a section for customisation. I've tried adding the following to light up the screen when I press a physical button but trying to load it errors.
# Customization area
##### My customization - Start #####
binary_sensor:
- name: Left Button
platform: gpio
pin:
number: 14
on_press:
- lambda: goto_page->execute("home");
##### My customization - End #####
Specifically, and probably not surprisingly, the error is Pin 14 is used in multiple places. Is there a syntax to get around this in yaml?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the base yaml there's a section for customisation. I've tried adding the following to light up the screen when I press a physical button but trying to load it errors.
Specifically, and probably not surprisingly, the error is Pin 14 is used in multiple places. Is there a syntax to get around this in yaml?
Beta Was this translation helpful? Give feedback.
All reactions