Files
appdaemon/apps/living_room.yaml
2024-12-24 16:30:19 -06:00

69 lines
1.6 KiB
YAML

living_room:
module: room_control
class: RoomController
# rich: DEBUG
off_duration: 00:10:00
manual_mode: input_boolean.living_room_manual_mode
states:
- time: sunrise
off_duration: 00:15:00
scene:
light.living_room_lamps:
state: on
color_temp: 200
brightness: 255
light.white05:
state: on
color_temp: 200
brightness: 190
light.living_room_floodlights:
state: off
- time: '18:00:00'
off_duration: 01:00:00
scene:
light.living_room_lamps:
state: on
color_temp: 300
brightness: 190
light.living_room_floodlights:
state: off
- time: '23:00:00'
off_duration: 00:00:30
scene:
light.living_room_lamps:
state: on
color_temp: 400
brightness: 125
light.white05:
state: off
light.living_room_floodlights:
state: off
# sleep: input_boolean.sleeping
# sleep_state:
# scene:
# light.colorflood05:
# state: 'on'
# color_name: 'red'
# brightness: 10
# front_door:
# module: door
# class: Door
# app: living_room
# door: binary_sensor.front_contact
living_room_button:
module: button
class: Button
app: living_room
manual_mode: input_boolean.living_room_manual_mode
button: button01
ref_entity: light.color04
living_room_motion:
module: motion
class: Motion
app: living_room
sensor: binary_sensor.living_room_motion
ref_entity: light.color04