From 1eb683a06c1327ea1d3e2c9d63f9015eef9cf26e Mon Sep 17 00:00:00 2001 From: Ghisch <168481965+ghisch@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:18:16 +0100 Subject: [PATCH] Fix6 --- solar_router/engine_regulator_with_bypass.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/solar_router/engine_regulator_with_bypass.yaml b/solar_router/engine_regulator_with_bypass.yaml index 03cea99..e2e20f5 100644 --- a/solar_router/engine_regulator_with_bypass.yaml +++ b/solar_router/engine_regulator_with_bypass.yaml @@ -71,10 +71,10 @@ switch: internal: ${hide_regulators} on_turn_on: then: - - lambda: id(energy_divertion).publish_state(True); + - lambda: id(energy_divertion).publish_state(true); on_turn_off: then: - - lambda: id(energy_divertion).publish_state(False); + - lambda: id(energy_divertion).publish_state(false); number: # Router level from 0 to 100 @@ -96,9 +96,9 @@ number: then: - lambda: |- if (id(router_level).state >= 100.0 && id(bypass_tempo_counter).state <= 0) { - id(energy_divertion).publish_state(True); + id(energy_divertion).publish_state(true); } else { - id(energy_divertion).publish_state(True); + id(energy_divertion).publish_state(true); id(regulator_opening).publish_state(id(router_level).state); } - if: