periodic push
This commit is contained in:
8
esphome/templates/button.yaml
Executable file
8
esphome/templates/button.yaml
Executable file
@@ -0,0 +1,8 @@
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: "Button"
|
||||
id: button
|
||||
pin:
|
||||
number: ${pin_button}
|
||||
mode: INPUT_PULLUP
|
||||
inverted: True
|
||||
Reference in New Issue
Block a user