mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-27 17:37:45 +01:00
parent
05c1f9bd84
commit
4ca3d71065
@ -38,7 +38,7 @@ T1
|
|||||||
number: GPIO0
|
number: GPIO0
|
||||||
mode: INPUT_PULLUP
|
mode: INPUT_PULLUP
|
||||||
inverted: True
|
inverted: True
|
||||||
id: button
|
id: button_1
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- light.toggle: light_1
|
- light.toggle: light_1
|
||||||
@ -101,7 +101,7 @@ T2
|
|||||||
number: GPIO0
|
number: GPIO0
|
||||||
mode: INPUT_PULLUP
|
mode: INPUT_PULLUP
|
||||||
inverted: True
|
inverted: True
|
||||||
id: button
|
id: button_1
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- light.toggle: light_1
|
- light.toggle: light_1
|
||||||
@ -111,7 +111,7 @@ T2
|
|||||||
number: GPIO9
|
number: GPIO9
|
||||||
mode: INPUT_PULLUP
|
mode: INPUT_PULLUP
|
||||||
inverted: True
|
inverted: True
|
||||||
id: button
|
id: button_2
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- light.toggle: light_2
|
- light.toggle: light_2
|
||||||
@ -172,7 +172,7 @@ T3
|
|||||||
number: GPIO0
|
number: GPIO0
|
||||||
mode: INPUT_PULLUP
|
mode: INPUT_PULLUP
|
||||||
inverted: True
|
inverted: True
|
||||||
id: button
|
id: button_1
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- light.toggle: light_1
|
- light.toggle: light_1
|
||||||
@ -182,7 +182,7 @@ T3
|
|||||||
number: GPIO9
|
number: GPIO9
|
||||||
mode: INPUT_PULLUP
|
mode: INPUT_PULLUP
|
||||||
inverted: True
|
inverted: True
|
||||||
id: button
|
id: button_2
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- light.toggle: light_2
|
- light.toggle: light_2
|
||||||
@ -192,7 +192,7 @@ T3
|
|||||||
number: GPIO10
|
number: GPIO10
|
||||||
mode: INPUT_PULLUP
|
mode: INPUT_PULLUP
|
||||||
inverted: True
|
inverted: True
|
||||||
id: button
|
id: button_3
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- light.toggle: light_3
|
- light.toggle: light_3
|
||||||
|
Loading…
Reference in New Issue
Block a user