diff options
author | Kaufman Home Automation <[email protected]> | 2022-09-27 18:08:56 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-09-27 18:08:56 -0700 |
commit | 5a0ec5a9545c95742b6fd34f9fc53ee37465c8d9 (patch) | |
tree | 06152c6f73f00a53ffe1efc20d3be11b666bdda1 /kauf-plug-update.yaml | |
parent | 1423ead06872b1686e06cd849eb4bd1188bc2da0 (diff) | |
download | PLF10-5a0ec5a9545c95742b6fd34f9fc53ee37465c8d9.tar.gz PLF10-5a0ec5a9545c95742b6fd34f9fc53ee37465c8d9.zip |
undo update yaml file commit
Diffstat (limited to 'kauf-plug-update.yaml')
-rw-r--r-- | kauf-plug-update.yaml | 57 |
1 files changed, 1 insertions, 56 deletions
diff --git a/kauf-plug-update.yaml b/kauf-plug-update.yaml index 8e75756..30ed5a9 100644 --- a/kauf-plug-update.yaml +++ b/kauf-plug-update.yaml @@ -24,16 +24,6 @@ esphome: # with any other on_boot scripts. - script.execute: on_boot_wifi -external_components: -# - source: -# type: git -# url: https://github.com/KaufHA/common -# # ref: v2022.06.21 -# refresh: 0s - - source: - type: local - path: dev-common - globals: - id: force_ap @@ -97,54 +87,9 @@ script: wifi.connected - globals.set: # clear global so ap doesn't come back up next time id: force_ap - value: 'false' + value: 'false' # set ap timeout to max 32 bit value in milliseconds. About 3.5 weeks. - lambda: |- ESP_LOGD("KAUF on_boot","------------------->>>>>>>>>>>>>>>>> wifi connected, cranking ap timeout back up"); wifi_wificomponent->set_ap_timeout(2147483647); - -# select: -# # default light state on boot -# - platform: template -# name: $friendly_name Power On State -# id: select_boot_state -# optimistic: true -# options: -# - "Restore Power Off State" -# - "Always On" -# - "Always Off" -# initial_option: Restore Power Off State -# restore_value: true -# icon: mdi:restart-alert -# on_value: -# - lambda: |- -# if ( x == "Always On" ) { -# // disable saving any more values in the relay flash address -# relay->set_restore_mode(esphome::gpio::GPIO_SWITCH_ALWAYS_ON); - -# // save a "1" in the relay flash address so that gets restored next time -# relay->force_save(true); -# } -# else if ( x == "Always Off" ) { -# // disable saving any more values in the relay flash address -# relay->set_restore_mode(esphome::gpio::GPIO_SWITCH_ALWAYS_ON); - -# // save a "0" in the relay flash address so that gets restored next time -# relay->force_save(false); -# } -# else -# relay->set_restore_mode(esphome::gpio::GPIO_SWITCH_$sub_restore_mode); -# //relay->write_state(id(relay)); -# - script.execute: script_save_changes -# - delay: 5s - -# # always go to a restoring mode after boot, we already got what we wanted out of the boot state, -# # this way the current state will continue to be saved no matter the setting. -# - lambda: relay->set_restore_mode(esphome::gpio::GPIO_SWITCH_RESTORE_DEFAULT_ON); - -# entity_category: config -# forced_hash: 3222171394 -# forced_addr: 74 -# global_addr: global_forced_addr - |