started stages logic

This commit is contained in:
John Lancaster
2025-11-21 07:54:49 -06:00
parent 19d1f9bdfe
commit 98d9ad0556
3 changed files with 124 additions and 3 deletions

View File

@@ -1,3 +1,33 @@
hello_world:
module: hello
class: HelloWorld
# hello_world:
# module: hello
# class: HelloWorld
bar_lights:
module: motion
class: StagedMotionLight
stages:
- start: '06:00 am'
scene:
light.bar:
state: on
color_temp_kelvin: 4500
brightness: 25
- start: '09:00 am'
scene:
light.bar:
state: on
color_temp_kelvin: 3500
brightness: 100
- start: '13:00'
scene:
light.bar:
state: on
color_temp_kelvin: 2500
brightness: 150
- start: 'sunset'
scene:
light.bar:
state: on
color_temp_kelvin: 2000
brightness: 100