diff options
author | KaufHA <[email protected]> | 2023-04-19 21:41:31 -0700 |
---|---|---|
committer | KaufHA <[email protected]> | 2023-04-19 21:41:31 -0700 |
commit | a015d76aadb31ddfb0787e1394f02a139011d5f5 (patch) | |
tree | b750ef8709395c7b891873943ef198fdbc99a4ec | |
parent | 59deefabe498fca520f111632e4711a107765cff (diff) | |
download | PLF10-a015d76aadb31ddfb0787e1394f02a139011d5f5.tar.gz PLF10-a015d76aadb31ddfb0787e1394f02a139011d5f5.zip |
update for esphome 2023.04
-rw-r--r-- | kauf-plug-lite.yaml | 3 | ||||
-rw-r--r-- | kauf-plug-minimal.yaml | 2 | ||||
-rw-r--r-- | kauf-plug.yaml | 7 |
3 files changed, 10 insertions, 2 deletions
diff --git a/kauf-plug-lite.yaml b/kauf-plug-lite.yaml index 6f19334..19da11a 100644 --- a/kauf-plug-lite.yaml +++ b/kauf-plug-lite.yaml @@ -377,6 +377,7 @@ light: output: blue_led_pwm entity_category: config default_transition_length: 0s + restore_mode: RESTORE_DEFAULT_ON effects: - flicker: name: Flicker @@ -389,6 +390,7 @@ light: output: red_led_pwm entity_category: config default_transition_length: 0s + restore_mode: RESTORE_DEFAULT_ON effects: - flicker: name: Flicker @@ -425,6 +427,7 @@ switch: entity_category: config disabled_by_default: $disable_entities icon: mdi:toggle-switch-off-outline + restore_mode: RESTORE_DEFAULT_ON on_turn_on: - lambda: |- id(kauf_api).set_reboot_timeout(0); // 0 disables auto rebooting and also new status led blinking. doesn't stop current status led blinking diff --git a/kauf-plug-minimal.yaml b/kauf-plug-minimal.yaml index 992f624..463279f 100644 --- a/kauf-plug-minimal.yaml +++ b/kauf-plug-minimal.yaml @@ -124,12 +124,14 @@ switch: pin: number: GPIO2 inverted: true + restore_mode: RESTORE_DEFAULT_ON # relay output - platform: gpio id: relay name: $friendly_name pin: GPIO4 + restore_mode: RESTORE_DEFAULT_ON # automatically make blue led equal relay state on_turn_on: diff --git a/kauf-plug.yaml b/kauf-plug.yaml index a5c035d..7cd4002 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.022" + project_ver_num: "2.023" project_ver_let: y # https://esphome.io/components/switch/gpio.html?highlight=restore_mode @@ -138,7 +138,7 @@ external_components: - source: type: git url: https://github.com/KaufHA/common - ref: v2023.03.14 + ref: v2023.04.18 refresh: never @@ -396,6 +396,7 @@ light: forced_hash: 3831461887 forced_addr: 44 global_addr: global_forced_addr + restore_mode: RESTORE_DEFAULT_ON effects: - flicker: name: Flicker @@ -411,6 +412,7 @@ light: forced_hash: 261191305 forced_addr: 62 global_addr: global_forced_addr + restore_mode: RESTORE_DEFAULT_ON effects: - flicker: name: Flicker @@ -461,6 +463,7 @@ switch: forced_hash: 657159011 forced_addr: 42 global_addr: global_forced_addr + restore_mode: RESTORE_DEFAULT_ON # https://esphome.io/components/button/index.html |