mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
31 lines
720 B
YAML
31 lines
720 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:
|
|
# - service: homeassistant.turn_on
|
|
# entity_id:
|
|
# - input_boolean.clint_needs_pm_meds
|
|
|
|
- service: input_select.select_option
|
|
data:
|
|
entity_id: input_select.time_of_day
|
|
option: Early Afternoon
|
|
|
|
- delay: '00:00:30' |