broke out motion

This commit is contained in:
John Lancaster
2023-11-25 00:55:13 -06:00
parent b4a6d9ac78
commit 366e048456
6 changed files with 39 additions and 4 deletions

View File

@@ -39,3 +39,10 @@ bathroom_button:
class: ButtonController class: ButtonController
app: bathroom app: bathroom
button: Bathroom Button button: Bathroom Button
bathroom_motion:
module: motion
class: Motion
app: bathroom
sensor: binary_sensor.bathroom_motion_occupancy
entity: light.bathroom

View File

@@ -2,7 +2,6 @@ bedroom:
module: room_control module: room_control
class: RoomController class: RoomController
entity: light.bedroom entity: light.bedroom
sensor: binary_sensor.bedroom_motion_occupancy
off_duration: '00:05:00' off_duration: '00:05:00'
states: states:
- time: 'sunrise - 03:00:00' - time: 'sunrise - 03:00:00'
@@ -68,3 +67,11 @@ bedroom_buttons:
button: button:
- Bedroom Button 1 - Bedroom Button 1
- Bedroom Button 2 - Bedroom Button 2
bedroom_motion:
module: motion
class: Motion
app: bedroom
sensor: binary_sensor.bedroom_motion_occupancy
off_duration: '00:05:00'
entity: light.bedroom

View File

@@ -24,4 +24,11 @@ closet:
scene: scene:
light.closet: light.closet:
brightness_pct: 40 brightness_pct: 40
color_temp: 400 color_temp: 400
closet_motion:
module: motion
class: Motion
app: closet
sensor: binary_sensor.closet_motion_occupancy
entity: light.closet

View File

@@ -44,3 +44,10 @@ kitchen_button:
class: ButtonController class: ButtonController
app: kitchen app: kitchen
button: Kitchen Button button: Kitchen Button
kitchen_motion:
module: motion
class: Motion
app: kitchen
sensor: binary_sensor.kitchen_motion_occupancy
entity: light.kitchen

View File

@@ -78,4 +78,11 @@ living_room_button:
module: button module: button
class: ButtonController class: ButtonController
app: living_room app: living_room
button: Living Room Button button: Living Room Button
living_room_motion:
module: motion
class: Motion
app: living_room
sensor: binary_sensor.living_room_motion_occupancy
entity: light.living_room