aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKaufHA <[email protected]>2022-07-11 18:53:47 -0700
committerKaufHA <[email protected]>2022-07-11 18:53:47 -0700
commit20e59811c7428d10cf8e99d544b5ccf37858e1fb (patch)
tree19a8ec2d63a50f434244f0419ea9e112c77a628b
parent9790b896b8e289b0849f4fd15c3d2a20ae20d566 (diff)
downloadPLF10-1.97.tar.gz
PLF10-1.97.zip
update factory routinev1.97
-rw-r--r--kauf-plug-factory.yaml12
1 files changed, 3 insertions, 9 deletions
diff --git a/kauf-plug-factory.yaml b/kauf-plug-factory.yaml
index 945a4af..3934683 100644
--- a/kauf-plug-factory.yaml
+++ b/kauf-plug-factory.yaml
@@ -22,7 +22,7 @@ esphome:
# disable button toggling relay
- select.set:
id: select_button
- option: "Disabled"
+ option: "Don't Toggle"
# turn on relay to draw current
- switch.turn_on: relay
@@ -54,7 +54,7 @@ esphome:
# re-enable button toggling relay
- select.set:
id: select_button
- option: "Enabled"
+ option: "Toggle on Release"
# delay time to save above changes
- delay: 3s
@@ -66,16 +66,10 @@ esphome:
then:
- light.toggle: blue_led
- delay: 100ms
- - while:
- condition:
- binary_sensor.is_on: button_in
- then:
- - light.turn_on: blue_led
- - delay: 50ms
globals:
- id: first_boot # used to run routine at factory to confirm
- type: bool # correct firwmare is running.
+ type: bool # correct firmware is running.
restore_value: yes
initial_value: 'true'