set up dependencies and rich logging
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
bathroom:
|
||||
module: room_control
|
||||
class: RoomController
|
||||
dependencies:
|
||||
- rich_logging
|
||||
# rich: DEBUG
|
||||
off_duration: '00:05:00'
|
||||
states:
|
||||
@@ -35,6 +37,8 @@ bathroom:
|
||||
bathroom_button:
|
||||
module: button
|
||||
class: Button
|
||||
dependencies:
|
||||
- bathroom
|
||||
# rich: DEBUG
|
||||
app: bathroom
|
||||
button: Bathroom Button
|
||||
@@ -42,7 +46,9 @@ bathroom_button:
|
||||
|
||||
bathroom_motion:
|
||||
module: motion
|
||||
class: Motion
|
||||
class: Motion
|
||||
dependencies:
|
||||
- bathroom
|
||||
# rich: DEBUG
|
||||
app: bathroom
|
||||
sensor: binary_sensor.bathroom_motion_occupancy
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
bedroom:
|
||||
module: room_control
|
||||
class: RoomController
|
||||
dependencies:
|
||||
- rich_logging
|
||||
# rich: DEBUG
|
||||
off_duration: '00:05:00'
|
||||
states:
|
||||
@@ -77,6 +79,8 @@ bedroom:
|
||||
bedroom_buttons:
|
||||
module: button
|
||||
class: Button
|
||||
dependencies:
|
||||
- bedroom
|
||||
# rich: DEBUG
|
||||
app: bedroom
|
||||
ref_entity: light.bedroom
|
||||
@@ -87,6 +91,8 @@ bedroom_buttons:
|
||||
bedroom_motion:
|
||||
module: motion
|
||||
class: Motion
|
||||
dependencies:
|
||||
- bedroom
|
||||
# rich: DEBUG
|
||||
app: bedroom
|
||||
sensor: binary_sensor.bedroom_motion_occupancy
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
closet:
|
||||
module: room_control
|
||||
class: RoomController
|
||||
dependencies:
|
||||
- rich_logging
|
||||
# rich: DEBUG
|
||||
off_duration: '00:02:00'
|
||||
states:
|
||||
@@ -28,6 +30,8 @@ closet:
|
||||
closet_motion:
|
||||
module: motion
|
||||
class: Motion
|
||||
dependencies:
|
||||
- closet
|
||||
# rich: DEBUG
|
||||
app: closet
|
||||
sensor: binary_sensor.closet_motion_occupancy
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
kitchen:
|
||||
module: room_control
|
||||
class: RoomController
|
||||
dependencies:
|
||||
- rich_logging
|
||||
# rich: DEBUG
|
||||
off_duration: '00:10:00'
|
||||
# ha_button: input_button.activate_kitchen
|
||||
@@ -40,6 +42,8 @@ kitchen:
|
||||
kitchen_button:
|
||||
module: button
|
||||
class: Button
|
||||
dependencies:
|
||||
- kitchen
|
||||
# rich: DEBUG
|
||||
app: kitchen
|
||||
button: Kitchen Button
|
||||
@@ -48,6 +52,8 @@ kitchen_button:
|
||||
kitchen_motion:
|
||||
module: motion
|
||||
class: Motion
|
||||
dependencies:
|
||||
- kitchen
|
||||
# rich: DEBUG
|
||||
app: kitchen
|
||||
sensor: binary_sensor.kitchen_motion_occupancy
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
laundry:
|
||||
module: room_control
|
||||
class: RoomController
|
||||
dependencies:
|
||||
- rich_logging
|
||||
# rich: DEBUG
|
||||
off_duration: '00:02:00'
|
||||
states:
|
||||
@@ -28,6 +30,8 @@ laundry:
|
||||
laundry_motion:
|
||||
module: motion
|
||||
class: Motion
|
||||
dependencies:
|
||||
- laundry
|
||||
# rich: DEBUG
|
||||
rich: DEBUG
|
||||
app: laundry
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user