diff options
-rw-r--r-- | kauf-plug.yaml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/kauf-plug.yaml b/kauf-plug.yaml index a2b1f1a..064948f 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.03" + project_ver_num: "2.04" project_ver_let: y # https://esphome.io/components/switch/gpio.html?highlight=restore_mode @@ -74,6 +74,11 @@ substitutions: sub_update_interval: 10s sub_pm_initial_option: YAML Configured ($sub_update_interval) + # for early sensor publishing + sub_early_publish_percent: "25" + sub_early_publish_percent_min_power: "0.5" + sub_early_publish_absolute: "16.68" # for PLF10, 1w is approximately 5.56. 16.68 is approximately 3w. + # GPIO definitions sub_pm_sel_pin: GPIO12 sub_pm_cf_pin: GPIO5 @@ -142,7 +147,7 @@ external_components: - source: type: git url: https://github.com/KaufHA/common - ref: v2023.05.17 + ref: v2023.06.03 refresh: never @@ -477,6 +482,10 @@ sensor: # Power monitoring sensors output to Home Assistant update_interval: $sub_update_interval + early_publish_percent: $sub_early_publish_percent + early_publish_percent_min_power: $sub_early_publish_percent_min_power + early_publish_absolute: $sub_early_publish_absolute + model: $sub_hlw_model power: |