Update sonoff-t1-3.rst (#497)

Fix error compile with suggested YAML
This commit is contained in:
RockBomber 2020-03-12 23:56:19 +03:00 committed by GitHub
parent 05c1f9bd84
commit 4ca3d71065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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