Slight bug fixes for ezo_orp_i2c component

Added: A new time_modifier for chlorine_pump,
Used to set maximums and stuff for chlorine pump pump
This commit is contained in:
2024-06-04 08:42:37 +02:00
parent f0be663618
commit 30db0802a0
4 changed files with 87 additions and 3 deletions

View File

@@ -185,8 +185,12 @@ chlorine_pump:
id: chlorine_pump_component
disable_clock: false
proportional_band: 200
cycle_time: 300
target: 700
# get_target: !lambda return id(chlorine_target).state;
cycle_modifiers:
min_on_time: 30
max_on_time: 240
on_pump_value:
- lambda: |-
if(pState != id(last_pump_state)){