example config, unused?

This commit is contained in:
root
2024-12-24 16:30:19 -06:00
parent 321ac4f8a4
commit 7b2cb22901
3 changed files with 80 additions and 1 deletions

3
apps/apps.yaml Normal file
View File

@@ -0,0 +1,3 @@
hello_world:
module: hello
class: HelloWorld

68
apps/living_room.yaml Normal file
View File

@@ -0,0 +1,68 @@
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

View File

@@ -1,7 +1,7 @@
mancave: mancave:
module: room_control module: room_control
class: RoomController class: RoomController
rich: DEBUG # rich: DEBUG
off_duration: 00:00:10 off_duration: 00:00:10
manual_mode: input_boolean.mancave_manual_mode manual_mode: input_boolean.mancave_manual_mode
states: states:
@@ -18,6 +18,9 @@ mancave:
light.white08: light.white08:
color_temp: 300 color_temp: 300
brightness: 175 brightness: 175
light.wled_soundreactive:
state: off
preset: 'Stream'
- time: '18:00:00' - time: '18:00:00'
scene: scene:
light.color01: light.color01:
@@ -34,6 +37,9 @@ mancave:
state: on state: on
color_temp: 400 color_temp: 400
brightness: 70 brightness: 70
light.wled_soundreactive:
state: on
preset: 'WashingMachine'
- time: '23:00:00' - time: '23:00:00'
scene: scene:
light.color01: light.color01:
@@ -46,6 +52,8 @@ mancave:
state: off state: off
light.white08: light.white08:
state: off state: off
light.wled_soundreactive:
state: off
# sleep: input_boolean.sleeping # sleep: input_boolean.sleeping
# sleep_state: # sleep_state:
# scene: # scene: