Skip to content

Commit

Permalink
Fix incorrect logic not turning airer on.
Browse files Browse the repository at this point in the history
Check if plug is on was inverted logic so it never turned on.
  • Loading branch information
dannytsang committed Dec 28, 2024
1 parent a1fe653 commit 6a0464c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/rooms/conservatory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ script:
- if:
- condition: state
entity_id: switch.airer
state: "on"
state: "off"
then:
- action: switch.turn_on
target:
Expand All @@ -489,7 +489,7 @@ script:
conditions:
- condition: state
entity_id: input_boolean.enable_conservatory_airer_when_cost_nothing
state: "on"
state: "off"
- condition: template
value_template: "{{ current_import_rate == 0 }}"
sequence:
Expand Down Expand Up @@ -524,7 +524,7 @@ script:
- if:
- condition: state
entity_id: switch.airer
state: "on"
state: "off"
then:
- action: switch.turn_on
target:
Expand Down

0 comments on commit 6a0464c

Please sign in to comment.