Skip to content

Commit

Permalink
fixup! fixup! Update terrarium devices and cards
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-V committed Aug 24, 2024
1 parent a28aa21 commit 6fac9e5
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions blueprints/automation/terrarium_scheduling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ trigger:
event: start

variables:
day_time_entity: !input day_time_entity
night_time_entity: !input night_time_entity
heat_bulb_switch: !input heat_bulb_switch
heater_switch: !input heater_switch
uv_light_switch: !input uv_light_switch
Expand All @@ -75,7 +73,7 @@ condition:

action:
- action: switch.turn_on
enabled: "{{ heater_switch != 'event.dummy' }}"
enabled: "{{ heater_switch != 'switch.dummy' }}"
target:
entity_id: !input heater_switch

Expand All @@ -85,19 +83,19 @@ action:
before: !input night_time_entity
then:
- action: switch.turn_on
enabled: "{{ heat_bulb_switch != 'event.dummy' }}"
enabled: "{{ heat_bulb_switch != 'switch.dummy' }}"
target:
entity_id: !input heat_bulb_switch
- action: switch.turn_on
enabled: "{{ uv_light_switch != 'event.dummy' }}"
enabled: "{{ uv_light_switch != 'switch.dummy' }}"
target:
entity_id: !input uv_light_switch
else:
- action: switch.turn_off
enabled: "{{ heat_bulb_switch != 'event.dummy' }}"
enabled: "{{ heat_bulb_switch != 'switch.dummy' }}"
target:
entity_id: !input heat_bulb_switch
- action: switch.turn_off
enabled: "{{ uv_light_switch != 'event.dummy' }}"
enabled: "{{ uv_light_switch != 'switch.dummy' }}"
target:
entity_id: !input uv_light_switch

0 comments on commit 6fac9e5

Please sign in to comment.