aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKaufHA <[email protected]>2023-06-03 12:37:25 -0700
committerKaufHA <[email protected]>2023-06-03 12:37:25 -0700
commite79d76eb14d260a06ec8a1f16cf7a7910ffc2728 (patch)
tree39689fe28a9092d952d3d30dd739ad286b1b9df1
parent0c1a12a968fc856c8079860b7ee4430b836aa07b (diff)
downloadPLF10-e79d76eb14d260a06ec8a1f16cf7a7910ffc2728.tar.gz
PLF10-e79d76eb14d260a06ec8a1f16cf7a7910ffc2728.zip
early sensor init
-rw-r--r--kauf-plug.yaml13
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: