Add automations and input booleans to max brightness scripts
This commit is contained in:
53
scripts.yaml
53
scripts.yaml
@ -108,12 +108,27 @@ global_on:
|
|||||||
max_brightness:
|
max_brightness:
|
||||||
sequence:
|
sequence:
|
||||||
- alias: Turn off Adaptive Lighting and Motion Lighting
|
- alias: Turn off Adaptive Lighting and Motion Lighting
|
||||||
data: {}
|
parallel:
|
||||||
target:
|
- service: automation.turn_off
|
||||||
label_id:
|
metadata: {}
|
||||||
- adaptive_lighting
|
data:
|
||||||
- motion_lighting
|
stop_actions: true
|
||||||
action: switch.turn_off
|
target:
|
||||||
|
label_id: motion_lighting
|
||||||
|
alias: Automations
|
||||||
|
- alias: Switches
|
||||||
|
service: switch.turn_off
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
label_id:
|
||||||
|
- adaptive_lighting
|
||||||
|
- motion_lighting
|
||||||
|
- service: input_boolean.turn_off
|
||||||
|
metadata: {}
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
label_id: motion_lighting
|
||||||
|
alias: Input Booleans
|
||||||
- delay:
|
- delay:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 0
|
minutes: 0
|
||||||
@ -463,12 +478,26 @@ 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
|
- alias: Turn on motion lighting
|
||||||
metadata: {}
|
parallel:
|
||||||
data: {}
|
- service: input_boolean.turn_on
|
||||||
target:
|
metadata: {}
|
||||||
label_id: motion_lighting
|
data: {}
|
||||||
alias: Turn on motion lighting
|
target:
|
||||||
|
label_id: motion_lighting
|
||||||
|
alias: Input Booleans
|
||||||
|
- service: switch.turn_on
|
||||||
|
metadata: {}
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
label_id: motion_lighting
|
||||||
|
alias: Switches
|
||||||
|
- service: automation.turn_on
|
||||||
|
metadata: {}
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
label_id: motion_lighting
|
||||||
|
alias: Automations
|
||||||
mode: single
|
mode: single
|
||||||
icon: mdi:broom
|
icon: mdi:broom
|
||||||
cleanup_crash:
|
cleanup_crash:
|
||||||
|
Reference in New Issue
Block a user