From 4ca3d71065f0ef1c57b46801a7dc34010f432e8a Mon Sep 17 00:00:00 2001 From: RockBomber Date: Thu, 12 Mar 2020 23:56:19 +0300 Subject: [PATCH] Update sonoff-t1-3.rst (#497) Fix error compile with suggested YAML --- cookbook/sonoff-t1-3.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cookbook/sonoff-t1-3.rst b/cookbook/sonoff-t1-3.rst index bc2f2d72b..c24a6de9f 100644 --- a/cookbook/sonoff-t1-3.rst +++ b/cookbook/sonoff-t1-3.rst @@ -38,7 +38,7 @@ T1 number: GPIO0 mode: INPUT_PULLUP inverted: True - id: button + id: button_1 on_press: then: - light.toggle: light_1 @@ -101,7 +101,7 @@ T2 number: GPIO0 mode: INPUT_PULLUP inverted: True - id: button + id: button_1 on_press: then: - light.toggle: light_1 @@ -111,7 +111,7 @@ T2 number: GPIO9 mode: INPUT_PULLUP inverted: True - id: button + id: button_2 on_press: then: - light.toggle: light_2 @@ -172,7 +172,7 @@ T3 number: GPIO0 mode: INPUT_PULLUP inverted: True - id: button + id: button_1 on_press: then: - light.toggle: light_1 @@ -182,7 +182,7 @@ T3 number: GPIO9 mode: INPUT_PULLUP inverted: True - id: button + id: button_2 on_press: then: - light.toggle: light_2 @@ -192,7 +192,7 @@ T3 number: GPIO10 mode: INPUT_PULLUP inverted: True - id: button + id: button_3 on_press: then: - light.toggle: light_3