mirror of
https://github.com/brianhanifin/esphome-config.git
synced 2026-09-22 18:29:39 +00:00
refactor: fix from experiment that didn't work out
This commit is contained in:
1 parent
91bfe20843
commit
da1f1331dd
2 files changed
+6
-6
No files matched your search
+3
-3
@@ -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
@@ -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
|
||||
Reference in new issue
Block a user