Taking a swing at #129
This commit is contained in:
@ -976,6 +976,10 @@ script:
|
|||||||
- service: script.stairwell_led_strip
|
- service: script.stairwell_led_strip
|
||||||
data:
|
data:
|
||||||
brightness: 255
|
brightness: 255
|
||||||
|
- service: adaptive_lighting.set_manual_control
|
||||||
|
data:
|
||||||
|
manual_control: false
|
||||||
|
entity_id: switch.adaptive_lighting_emma_bedroom
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.early_night_mode
|
entity_id: binary_sensor.early_night_mode
|
||||||
@ -984,6 +988,17 @@ script:
|
|||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: light.emma_bedroom_light
|
entity_id: light.emma_bedroom_light
|
||||||
|
- delay:
|
||||||
|
seconds: 1
|
||||||
|
- service: input_select.select_option
|
||||||
|
target:
|
||||||
|
entity_id: input_select.emma_bedroom_scenes
|
||||||
|
data:
|
||||||
|
option: Adaptive
|
||||||
|
- service: adaptive_lighting.set_manual_control
|
||||||
|
data:
|
||||||
|
manual_control: false
|
||||||
|
entity_id: switch.adaptive_lighting_emma_bedroom
|
||||||
# Climate
|
# Climate
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
@ -1155,6 +1170,12 @@ script:
|
|||||||
5
|
5
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- choose:
|
- choose:
|
||||||
|
- conditions: "{{ wait.trigger == 'adaptive' }}"
|
||||||
|
sequence:
|
||||||
|
- service: adaptive_lighting.set_manual_control
|
||||||
|
data:
|
||||||
|
manual_control: false
|
||||||
|
entity_id: switch.adaptive_lighting_emma_bedroom
|
||||||
- conditions: "{{ wait.trigger == 'none' or wait.trigger.idx is undefined }}"
|
- conditions: "{{ wait.trigger == 'none' or wait.trigger.idx is undefined }}"
|
||||||
sequence:
|
sequence:
|
||||||
- service: input_select.select_option
|
- service: input_select.select_option
|
||||||
@ -1162,6 +1183,10 @@ script:
|
|||||||
entity_id: input_select.emma_bedroom_scenes
|
entity_id: input_select.emma_bedroom_scenes
|
||||||
data:
|
data:
|
||||||
option: Adaptive
|
option: Adaptive
|
||||||
|
- service: adaptive_lighting.set_manual_control
|
||||||
|
data:
|
||||||
|
manual_control: false
|
||||||
|
entity_id: switch.adaptive_lighting_emma_bedroom
|
||||||
- conditions: "{{ wait.trigger.id == 'lights-off' }}"
|
- conditions: "{{ wait.trigger.id == 'lights-off' }}"
|
||||||
sequence:
|
sequence:
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
@ -1175,6 +1200,10 @@ script:
|
|||||||
entity_id: input_text.emma_bedroom_selected_scene
|
entity_id: input_text.emma_bedroom_selected_scene
|
||||||
data:
|
data:
|
||||||
value: Adaptive
|
value: Adaptive
|
||||||
|
- service: adaptive_lighting.set_manual_control
|
||||||
|
data:
|
||||||
|
manual_control: false
|
||||||
|
entity_id: switch.adaptive_lighting_emma_bedroom
|
||||||
# Climate/White Noise
|
# Climate/White Noise
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
target:
|
target:
|
||||||
|
@ -127,6 +127,10 @@ script:
|
|||||||
entity_id: input_text.master_bedroom_selected_scene
|
entity_id: input_text.master_bedroom_selected_scene
|
||||||
data:
|
data:
|
||||||
value: Adaptive
|
value: Adaptive
|
||||||
|
- service: adaptive_lighting.set_manual_control
|
||||||
|
data:
|
||||||
|
manual_control: false
|
||||||
|
entity_id: switch.adaptive_lighting_master_bedroom
|
||||||
|
|
||||||
master_bedroom_sleep:
|
master_bedroom_sleep:
|
||||||
alias: 'Master Bedroom Sleep'
|
alias: 'Master Bedroom Sleep'
|
||||||
@ -147,5 +151,9 @@ script:
|
|||||||
entity_id: input_text.master_bedroom_selected_scene
|
entity_id: input_text.master_bedroom_selected_scene
|
||||||
data:
|
data:
|
||||||
value: Adaptive
|
value: Adaptive
|
||||||
|
- service: adaptive_lighting.set_manual_control
|
||||||
|
data:
|
||||||
|
manual_control: false
|
||||||
|
entity_id: switch.adaptive_lighting_master_bedroom
|
||||||
|
|
||||||
# TODO: Figure out which actions to move here, and which ones to keep in Node-RED
|
# TODO: Figure out which actions to move here, and which ones to keep in Node-RED
|
Reference in New Issue
Block a user