diff options
author | KaufHA <[email protected]> | 2023-07-03 21:15:49 -0700 |
---|---|---|
committer | KaufHA <[email protected]> | 2023-07-03 21:15:49 -0700 |
commit | 44381ad0f1d821c9f84e034fc5b57efae52a4861 (patch) | |
tree | db973ec42f9a243b08d98bc934727f510d0c95d8 /kauf-plug.yaml | |
parent | adb086dc535faf752fcab085e78433581543da2c (diff) | |
download | PLF10-44381ad0f1d821c9f84e034fc5b57efae52a4861.tar.gz PLF10-44381ad0f1d821c9f84e034fc5b57efae52a4861.zip |
fix red led automation
Diffstat (limited to 'kauf-plug.yaml')
-rw-r--r-- | kauf-plug.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kauf-plug.yaml b/kauf-plug.yaml index 6a214e0..7fa4ca6 100644 --- a/kauf-plug.yaml +++ b/kauf-plug.yaml @@ -15,7 +15,7 @@ substitutions: # https://esphome.io/components/esphome.html#esphome-creators-project project_name: Kauf.PLF10 - project_ver_num: "2.052" + project_ver_num: "2.053" project_ver_let: y # https://esphome.io/components/switch/gpio.html?highlight=restore_mode @@ -257,7 +257,7 @@ script: // if red led follows power status if ( (id(select_rled).state == "Power Status") || (id(select_rled).state == "Error and Power") ) { - id(red_led).publish_state(!id(relay).state); } + id(red_led).publish_state(id(relay).state); } // if red led follows inverse of power status else if ( (id(select_rled).state == "Invert Power Status") || (id(select_rled).state == "Error and Invert Power") ) { |