updates
This commit is contained in:
20
packages/light/light_snapshot.yaml
Executable file
20
packages/light/light_snapshot.yaml
Executable file
@@ -0,0 +1,20 @@
|
||||
automation:
|
||||
- alias: light_all_snapshot
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: time_pattern
|
||||
seconds: "30"
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: light.all_lights
|
||||
state: "on"
|
||||
action:
|
||||
- service: scene.create
|
||||
data:
|
||||
scene_id: snapshot_all
|
||||
snapshot_entities:
|
||||
- light.all_indirect
|
||||
- light.bed_ceiling
|
||||
- light.ceiling
|
||||
- switch.adaptive_lighting_sleep_mode_default
|
||||
- switch.adaptive_lighting_default
|
||||
Reference in New Issue
Block a user