51 lines
1.0 KiB
YAML
Executable File
51 lines
1.0 KiB
YAML
Executable File
kitchen:
|
|
module: room_control
|
|
class: RoomController
|
|
off_duration: '00:10:00'
|
|
# ha_button: input_button.activate_kitchen
|
|
sleep: input_boolean.sleeping
|
|
sleep_state:
|
|
scene:
|
|
light.kitchen:
|
|
state: on
|
|
brightness: 1
|
|
states:
|
|
- time: sunrise
|
|
scene:
|
|
light.kitchen:
|
|
state: on
|
|
color_temp: 200
|
|
brightness: 25
|
|
- time: '12:00:00'
|
|
scene:
|
|
light.kitchen:
|
|
state: on
|
|
color_temp: 300
|
|
brightness: 75
|
|
- time: sunset
|
|
scene:
|
|
light.kitchen:
|
|
state: on
|
|
color_temp: 450
|
|
brightness: 100
|
|
- time: '22:00:00'
|
|
off_duration: '00:02:00'
|
|
scene:
|
|
light.kitchen:
|
|
state: on
|
|
color_temp: 650
|
|
brightness: 25
|
|
|
|
kitchen_button:
|
|
module: button
|
|
class: Button
|
|
app: kitchen
|
|
button: Kitchen Button
|
|
ref_entity: light.kitchen
|
|
|
|
kitchen_motion:
|
|
module: motion
|
|
class: Motion
|
|
app: kitchen
|
|
sensor: binary_sensor.kitchen_motion_occupancy
|
|
ref_entity: light.kitchen |