refactor: fix from experiment that didn't work out

This commit is contained in:
brianhanifin
2019-11-07 09:24:23 -08:00
parent 91bfe20843
commit da1f1331dd
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -45,7 +45,7 @@ script:
binary_sensor:
- platform: gpio
pin:
number: $button_pin
number: $button_gpio
inverted: True
name: $upper_devicename Button
id: button
@@ -61,5 +61,5 @@ switch:
# Relay is for internal use only. Do not expose to Home Assistant.
- platform: gpio
id: relay
pin: $relay_pin
restore_mode: ALWAYS_ON
pin: $relay_gpio
restore_mode: ALWAYS_ON
+3 -3
View File
@@ -55,7 +55,7 @@ binary_sensor:
# Physical Toggle Switch. Monitor for switch position changes internally. Do not expose to Home Assistant.
- platform: gpio
pin:
number: GPIO5
number: $button_gpio
inverted: True
#name: $upper_devicename Button
id: button
@@ -85,5 +85,5 @@ switch:
- platform: gpio
id: relay
name: $devicename
pin: GPIO4
restore_mode: ALWAYS_OFF
pin: $relay_gpio
restore_mode: ALWAYS_OFF