updated for rich logging stuff

This commit is contained in:
John Lancaster
2024-03-10 17:36:14 -05:00
parent a79d441668
commit b6223a95d2
10 changed files with 77 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
bathroom:
module: room_control
class: RoomController
# rich: DEBUG
off_duration: '00:05:00'
states:
- time: '05:00:00'
@@ -34,6 +35,7 @@ bathroom:
bathroom_button:
module: button
class: Button
# rich: DEBUG
app: bathroom
button: Bathroom Button
ref_entity: light.bathroom
@@ -41,6 +43,7 @@ bathroom_button:
bathroom_motion:
module: motion
class: Motion
# rich: DEBUG
app: bathroom
sensor: binary_sensor.bathroom_motion_occupancy
ref_entity: light.bathroom

View File

@@ -1,6 +1,7 @@
bedroom:
module: room_control
class: RoomController
# rich: DEBUG
off_duration: '00:05:00'
states:
- time: 'sunrise - 03:00:00'
@@ -76,6 +77,7 @@ bedroom:
bedroom_buttons:
module: button
class: Button
# rich: DEBUG
app: bedroom
ref_entity: light.bedroom
button:
@@ -84,7 +86,8 @@ bedroom_buttons:
bedroom_motion:
module: motion
class: Motion
class: Motion
# rich: DEBUG
app: bedroom
sensor: binary_sensor.bedroom_motion_occupancy
off_duration: '00:05:00'

View File

@@ -1,6 +1,7 @@
closet:
module: room_control
class: RoomController
# rich: DEBUG
off_duration: '00:02:00'
states:
- time: 'sunrise - 03:00:00'
@@ -26,7 +27,8 @@ closet:
closet_motion:
module: motion
class: Motion
class: Motion
# rich: DEBUG
app: closet
sensor: binary_sensor.closet_motion_occupancy
ref_entity: light.closet

View File

@@ -1,6 +1,7 @@
kitchen:
module: room_control
class: RoomController
# rich: DEBUG
off_duration: '00:10:00'
# ha_button: input_button.activate_kitchen
sleep: input_boolean.sleeping
@@ -39,13 +40,15 @@ kitchen:
kitchen_button:
module: button
class: Button
# rich: DEBUG
app: kitchen
button: Kitchen Button
ref_entity: light.kitchen
kitchen_motion:
module: motion
class: Motion
class: Motion
# rich: DEBUG
app: kitchen
sensor: binary_sensor.kitchen_motion_occupancy
ref_entity: light.kitchen

35
apps/rooms/laundry.yaml Normal file
View File

@@ -0,0 +1,35 @@
laundry:
module: room_control
class: RoomController
# rich: DEBUG
off_duration: '00:02:00'
states:
- time: 'sunrise - 03:00:00'
scene:
light.laundry:
brightness: 25
color_temp: 200
- time: 'sunrise'
scene:
light.laundry:
brightness: 75
color_temp: 200
- time: '12:00:00'
scene:
light.laundry:
brightness: 175
color_temp: 300
- time: sunset
scene:
light.laundry:
brightness: 100
color_temp: 400
laundry_motion:
module: motion
class: Motion
# rich: DEBUG
rich: DEBUG
app: laundry
sensor: binary_sensor.laundry_motion_occupancy
ref_entity: light.laundry

View File

@@ -1,6 +1,7 @@
living_room:
module: room_control
class: RoomController
# rich: DEBUG
off_duration: 00:30:00
states:
- time: sunrise
@@ -68,19 +69,22 @@ living_room:
front_door:
module: door
class: Door
# rich: DEBUG
app: living_room
door: binary_sensor.front_contact
living_room_button:
module: button
class: Button
# rich: DEBUG
app: living_room
button: Living Room Button
ref_entity: light.living_room
living_room_motion:
module: motion
class: Motion
class: Motion
# rich: DEBUG
app: living_room
sensor: binary_sensor.living_room_motion_occupancy
ref_entity: light.living_room