set up dependencies and rich logging

This commit is contained in:
John Lancaster
2024-04-29 23:41:19 -05:00
parent 4bf09a677b
commit c4c4364225
10 changed files with 50 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
living_room:
module: room_control
class: RoomController
dependencies:
- rich_logging
# rich: DEBUG
off_duration: 00:30:00
states:
@@ -69,6 +71,8 @@ living_room:
front_door:
module: door
class: Door
dependencies:
- living_room
# rich: DEBUG
app: living_room
door: binary_sensor.front_contact
@@ -76,6 +80,8 @@ front_door:
living_room_button:
module: button
class: Button
dependencies:
- living_room
# rich: DEBUG
app: living_room
button: Living Room Button
@@ -84,6 +90,8 @@ living_room_button:
living_room_motion:
module: motion
class: Motion
dependencies:
- living_room
# rich: DEBUG
app: living_room
sensor: binary_sensor.living_room_motion_occupancy