Skip to content

Commit

Permalink
fix(engine): update consumption management
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierBerger committed Feb 1, 2025
1 parent 45debc2 commit 1614376
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions solar_router/engine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ switch:
- number.to_min: router_level
- lambda: |-
id(real_power).publish_state(NAN);
id(consumption).publish_state(NAN);
id(power_meter_activated) = 0;
number:
Expand Down
1 change: 1 addition & 0 deletions solar_router/engine_on_off.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ switch:
then:
- lambda: |-
id(real_power).publish_state(NAN);
id(consumption).publish_state(NAN);
id(power_meter_activated) = 0;
id(start_tempo_counter).publish_state(NAN);
id(stop_tempo_counter).publish_state(NAN);
Expand Down

0 comments on commit 1614376

Please sign in to comment.