diff options
author | KaufHA <[email protected]> | 2022-12-16 12:34:13 -0700 |
---|---|---|
committer | KaufHA <[email protected]> | 2022-12-16 12:34:13 -0700 |
commit | a91f3dea4b1e919048d36efae6eef5b09402391e (patch) | |
tree | 64795018988e93f4a4210b9f43c019c478e9fb85 | |
parent | b9b04f96932c2d54de52b6175ee0f415131f9f02 (diff) | |
download | PLF10-a91f3dea4b1e919048d36efae6eef5b09402391e.tar.gz PLF10-a91f3dea4b1e919048d36efae6eef5b09402391e.zip |
update lite yaml for 2022.12
-rw-r--r-- | kauf-plug-lite.yaml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kauf-plug-lite.yaml b/kauf-plug-lite.yaml index bc007ec..6f19334 100644 --- a/kauf-plug-lite.yaml +++ b/kauf-plug-lite.yaml @@ -719,18 +719,18 @@ select: on_value: - lambda: |- if ( x == "Restore Power Off State") - relay->set_restore_mode(gpio::GPIO_SWITCH_RESTORE_DEFAULT_OFF); + relay->set_restore_mode(SWITCH_RESTORE_DEFAULT_OFF); else if ( x == "Invert Power Off State") - relay->set_restore_mode(gpio::GPIO_SWITCH_RESTORE_INVERTED_DEFAULT_OFF); + relay->set_restore_mode(SWITCH_RESTORE_INVERTED_DEFAULT_OFF); else if ( x == "Always On") - relay->set_restore_mode(gpio::GPIO_SWITCH_ALWAYS_ON); + relay->set_restore_mode(SWITCH_ALWAYS_ON); else if ( x == "Always Off") - relay->set_restore_mode(gpio::GPIO_SWITCH_ALWAYS_OFF); + relay->set_restore_mode(SWITCH_ALWAYS_OFF); else - relay->set_restore_mode(gpio::GPIO_SWITCH_$sub_restore_mode); + relay->set_restore_mode(SWITCH_$sub_restore_mode); - script.execute: script_save_changes - - script.execute: script_setting_reboot + #- script.execute: script_setting_reboot # Send IP Address to HA |