aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKaufHA <[email protected]>2022-11-30 09:46:35 -0700
committerKaufHA <[email protected]>2022-11-30 09:46:35 -0700
commita52e817d6336850affc5dd03079de1ecacef8a29 (patch)
tree3dc74fc1a324fe891de63b94f5edef868e7e72d5
parent4d77fb6f98b4273fa908d8ffc3ec5e38fc03da0f (diff)
downloadPLF10-a52e817d6336850affc5dd03079de1ecacef8a29.tar.gz
PLF10-a52e817d6336850affc5dd03079de1ecacef8a29.zip
default to yaml configured for dashboard import
-rw-r--r--kauf-plug-update.yaml4
-rw-r--r--kauf-plug.yaml7
2 files changed, 6 insertions, 5 deletions
diff --git a/kauf-plug-update.yaml b/kauf-plug-update.yaml
index 2138567..d181e3d 100644
--- a/kauf-plug-update.yaml
+++ b/kauf-plug-update.yaml
@@ -1,7 +1,7 @@
substitutions:
project_ver_let: u
- default_button_config: "Toggle on Release"
-
+ default_button_config: Toggle on Release
+ sub_pm_initial_option: 10s
packages:
kauf_plug_base: !include kauf-plug.yaml
diff --git a/kauf-plug.yaml b/kauf-plug.yaml
index ac68c94..8202de2 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.015"
+ project_ver_num: "2.016"
project_ver_let: y
# https://esphome.io/components/switch/gpio.html?highlight=restore_mode
@@ -68,6 +68,7 @@ substitutions:
# set default power monitoring update interval in yaml.
# this will only be effective as long as the select entity is set to "YAML Configured"
sub_update_interval: 10s
+ sub_pm_initial_option: YAML Configured ($sub_update_interval)
# GPIO definitions
sub_pm_sel_pin: GPIO12
@@ -874,8 +875,8 @@ select:
- 10s
- 5s
- 2s
- - YAML Configured
- initial_option: 10s
+ - YAML Configured ($sub_update_interval)
+ initial_option: $sub_pm_initial_option
restore_value: true
icon: mdi:wrench-clock
entity_category: config