initial push

This commit is contained in:
CeeWeasel
2024-04-14 14:08:56 -04:00
commit 53bf393d14
1111 changed files with 71730 additions and 0 deletions
@@ -0,0 +1,29 @@
alias: Set Time of Day
id: automation_set_time_of_day
trigger:
- platform: homeassistant
event: start
action:
- service: input_select.select_option
data_template:
entity_id: input_select.time_of_day
option: >-
{% if is_state('binary_sensor.early_morning', 'on') %}
Early Morning
{% elif is_state('binary_sensor.morning', 'on') %}
Morning
{% elif is_state('binary_sensor.late_morning', 'on') %}
Late Morning
{% elif is_state('binary_sensor.early_afternoon', 'on') %}
Early Afternoon
{% elif is_state('binary_sensor.late_afternoon', 'on') %}
Late Afternoon
{% elif is_state('binary_sensor.early_evening', 'on') %}
Early Evening
{% elif is_state('binary_sensor.evening', 'on') %}
Evening
{% elif is_state('binary_sensor.late_evening', 'on') %}
Late Evening
{% else %}
Night
{% endif %}