Skip to content

Commit

Permalink
fix: remove alias
Browse files Browse the repository at this point in the history
  • Loading branch information
shepherdjerred committed Dec 20, 2024
1 parent 47e66b4 commit 5f17bc5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
to: "on"
from: "off"
trigger: state
alias: Sun is down
conditions: []
actions:
- data:
Expand All @@ -16,23 +17,28 @@
- balcony
- backyard
action: light.turn_on
alias: Turn on balcony and backyard lights
- action: scene.turn_on
target:
entity_id: scene.bollards_dimmed
data: {}
alias: Turn on bollards dimmed scene
- if:
- condition: state
entity_id: input_boolean.holiday_lights_enabled
state: "off"
alias: Holiday lights disabled
then:
- data: {}
target:
entity_id: light.patio_lights
action: light.turn_on
alias: Turn on patio lights
else:
- action: scene.turn_on
data: {}
target:
entity_id: >
{{ [ 'scene.front_porch_crystalline', 'scene.front_porch_golden_star', 'scene.front_porch_snow_sparkle', 'scene.front_porch_under_the_tree' ] | random }}
alias: Turn on random front porch scene
mode: single
2 changes: 2 additions & 0 deletions cdk8s/config/homeassistant/automation/sunrise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
- platform: sun
event: sunrise
offset: "0"
alias: Sunrise event
condition: []
action:
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.sun_is_down
alias: Turn off sun_is_down boolean
mode: single
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
minutes: 0
seconds: 10
milliseconds: 0
alias: Wait for 10 seconds
- data:
transition: 10
target:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
minutes: 0
seconds: 10
milliseconds: 0
alias: Wait for 10 seconds
- data:
transition: 10
action: light.turn_off
Expand Down

0 comments on commit 5f17bc5

Please sign in to comment.