moved ref entity

This commit is contained in:
John Lancaster
2023-11-25 01:12:33 -06:00
parent 366e048456
commit 648bbc2a5b
6 changed files with 6 additions and 18 deletions

View File

@@ -1,10 +1,7 @@
bathroom:
module: room_control
class: RoomController
entity: light.bathroom
sensor: binary_sensor.bathroom_motion_occupancy
off_duration: '00:05:00'
delay: '00:20:00'
states:
- time: '05:00:00'
scene:
@@ -45,4 +42,4 @@ bathroom_motion:
class: Motion
app: bathroom
sensor: binary_sensor.bathroom_motion_occupancy
entity: light.bathroom
ref_entity: light.bathroom

View File

@@ -1,7 +1,6 @@
bedroom:
module: room_control
class: RoomController
entity: light.bedroom
off_duration: '00:05:00'
states:
- time: 'sunrise - 03:00:00'
@@ -74,4 +73,4 @@ bedroom_motion:
app: bedroom
sensor: binary_sensor.bedroom_motion_occupancy
off_duration: '00:05:00'
entity: light.bedroom
ref_entity: light.bedroom

View File

@@ -1,8 +1,6 @@
closet:
module: room_control
class: RoomController
entity: light.closet
sensor: binary_sensor.closet_motion_occupancy
off_duration: '00:02:00'
states:
- time: 'sunrise - 03:00:00'
@@ -31,4 +29,4 @@ closet_motion:
class: Motion
app: closet
sensor: binary_sensor.closet_motion_occupancy
entity: light.closet
ref_entity: light.closet

View File

@@ -1,10 +1,7 @@
kitchen:
module: room_control
class: RoomController
entity: light.kitchen
sensor: binary_sensor.kitchen_motion_occupancy
off_duration: '00:10:00'
ha_button: input_button.activate_kitchen
states:
- time: sunrise
@@ -50,4 +47,4 @@ kitchen_motion:
class: Motion
app: kitchen
sensor: binary_sensor.kitchen_motion_occupancy
entity: light.kitchen
ref_entity: light.kitchen

View File

@@ -1,10 +1,7 @@
living_room:
module: room_control
class: RoomController
sensor: binary_sensor.living_room_motion_occupancy
off_duration: 00:30:00
entity: light.living_room
button: Living Room Button
states:
- time: sunrise
scene:
@@ -85,4 +82,4 @@ living_room_motion:
class: Motion
app: living_room
sensor: binary_sensor.living_room_motion_occupancy
entity: light.living_room
ref_entity: light.living_room