diff options
author | KaufHA <[email protected]> | 2023-05-29 12:39:21 -0700 |
---|---|---|
committer | KaufHA <[email protected]> | 2023-05-29 12:39:21 -0700 |
commit | a9dca4c6167e1a232f0a1e0b1fe2de122d132e9a (patch) | |
tree | 3dcbd64bfa017fd4dc8d1cf30dfd7f67a524d092 | |
parent | 976f9808b329075ee44e94c937d0cfbbeeb7c8fe (diff) | |
download | PLF10-a9dca4c6167e1a232f0a1e0b1fe2de122d132e9a.tar.gz PLF10-a9dca4c6167e1a232f0a1e0b1fe2de122d132e9a.zip |
substitutions for power scaling values
-rw-r--r-- | kauf-plug.yaml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/kauf-plug.yaml b/kauf-plug.yaml index 5b80994..4907eeb 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.025" + project_ver_num: "2.026" project_ver_let: y # https://esphome.io/components/switch/gpio.html?highlight=restore_mode @@ -65,6 +65,10 @@ substitutions: voltage_cal_val2_in: "302.1" voltage_cal_val2_out: "117.1" + sub_default_scale_power: "100" + sub_default_scale_current: "100" + sub_default_scale_voltage: "100" + # 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 @@ -591,7 +595,7 @@ number: # used as a threshold for whether the plugged-in devices is running min_value: 50 max_value: 200 step: .1 - initial_value: 100 + initial_value: $sub_default_scale_power id: scale_power entity_category: config optimistic: true @@ -612,7 +616,7 @@ number: # used as a threshold for whether the plugged-in devices is running min_value: 50 max_value: 200 step: .1 - initial_value: 100 + initial_value: $sub_default_scale_current id: scale_current entity_category: config optimistic: true @@ -633,7 +637,7 @@ number: # used as a threshold for whether the plugged-in devices is running min_value: 50 max_value: 200 step: .1 - initial_value: 100 + initial_value: $sub_default_scale_voltage id: scale_voltage entity_category: config optimistic: true |