Modify max brightness script to use labels for motion lighting
This commit is contained in:
18
scripts.yaml
18
scripts.yaml
@ -116,23 +116,23 @@ max_brightness:
|
|||||||
entity_id: input_boolean.tina_desk_lights
|
entity_id: input_boolean.tina_desk_lights
|
||||||
data: {}
|
data: {}
|
||||||
alias: Turn on Tina Desk Lights
|
alias: Turn on Tina Desk Lights
|
||||||
- alias: Turn off Adaptive Lighting
|
- alias: Turn off Adaptive Lighting and Motion Lighting
|
||||||
service: switch.turn_off
|
service: switch.turn_off
|
||||||
data: {}
|
data: {}
|
||||||
target:
|
target:
|
||||||
label_id: adaptive_lighting
|
label_id:
|
||||||
|
- adaptive_lighting
|
||||||
|
- motion_lighting
|
||||||
- delay:
|
- delay:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 0
|
minutes: 0
|
||||||
seconds: 1
|
seconds: 1
|
||||||
milliseconds: 0
|
milliseconds: 0
|
||||||
- alias: Cancel living room motion timer
|
- alias: Cancel motion timers
|
||||||
service: timer.cancel
|
service: timer.cancel
|
||||||
data: {}
|
data: {}
|
||||||
target:
|
target:
|
||||||
entity_id:
|
label_id: motion_lighting
|
||||||
- timer.living_room_motion_timer
|
|
||||||
- timer.upstairs_bathroom_motion_timer
|
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
data: {}
|
data: {}
|
||||||
target:
|
target:
|
||||||
@ -435,6 +435,12 @@ max_brightness_cleanup:
|
|||||||
target:
|
target:
|
||||||
entity_id: input_select.basement_studio_scenes
|
entity_id: input_select.basement_studio_scenes
|
||||||
alias: Set basement lights to adaptive
|
alias: Set basement lights to adaptive
|
||||||
|
- service: switch.turn_on
|
||||||
|
metadata: {}
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
label_id: motion_lighting
|
||||||
|
alias: Turn on motion lighting
|
||||||
mode: single
|
mode: single
|
||||||
icon: mdi:broom
|
icon: mdi:broom
|
||||||
cleanup_crash:
|
cleanup_crash:
|
||||||
|
Reference in New Issue
Block a user