Use new master bedroom handling for good morning routine
This commit is contained in:
@ -1104,13 +1104,14 @@ script:
|
|||||||
morning_scene:
|
morning_scene:
|
||||||
alias: 'Morning Scene'
|
alias: 'Morning Scene'
|
||||||
sequence:
|
sequence:
|
||||||
|
- service: input_boolean.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.master_bedroom_sleeping
|
||||||
- if:
|
- if:
|
||||||
- condition: template
|
- condition: numeric_state
|
||||||
value_template: "{{ states('weather.iron_nerd_weather_station') not in ['sunny','clear-night'] }}"
|
entity_id: sensor.pirateweather_cloud_coverage
|
||||||
|
above: 50
|
||||||
then:
|
then:
|
||||||
- service: light.turn_on
|
|
||||||
target:
|
|
||||||
entity_id: light.master_bedroom_lights
|
|
||||||
- if:
|
- if:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ is_state('input_boolean.kallen_sleeping','off') and is_state('person.kallen_stork','home') }}"
|
value_template: "{{ is_state('input_boolean.kallen_sleeping','off') and is_state('person.kallen_stork','home') }}"
|
||||||
|
Reference in New Issue
Block a user