mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
alias: 'Season is Easter'
|
||||
id: automation_season_is_easter
|
||||
initial_state: 'on'
|
||||
trigger:
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
- platform: time
|
||||
at: '02:00:00'
|
||||
- platform: state
|
||||
entity_id: calendar.holidays_in_united_states
|
||||
to: 'on'
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: '{{ states.calendar.holidays_in_united_states.attributes.message in "Good Friday" "Easter Sunday" "Easter Monday" }}'
|
||||
action:
|
||||
- service: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.season
|
||||
option: Easter
|
||||
Reference in New Issue
Block a user