From 20e59811c7428d10cf8e99d544b5ccf37858e1fb Mon Sep 17 00:00:00 2001 From: KaufHA Date: Mon, 11 Jul 2022 18:53:47 -0700 Subject: update factory routine --- kauf-plug-factory.yaml | 12 +++--------- 1 file 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' -- cgit v1.2.3