mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
32 lines
717 B
YAML
32 lines
717 B
YAML
id: set_house_to_early_afternoon
|
|
alias: Set House to Early Afternoon
|
|
mode: single
|
|
# Testing if this will update, save, and push just fine
|
|
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.early_afternoon
|
|
to: "on"
|
|
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: binary_sensor.early_afternoon
|
|
state: "on"
|
|
- condition: state
|
|
entity_id: input_select.time_of_day
|
|
state: Early Afternoon
|
|
|
|
action:
|
|
# - action: homeassistant.turn_on
|
|
# entity_id:
|
|
# - input_boolean.clint_needs_pm_meds
|
|
|
|
- action: input_select.select_option
|
|
data:
|
|
entity_id: input_select.time_of_day
|
|
option: Early Afternoon
|
|
|
|
- delay: "00:00:30"
|