From 380be7d4a6be4a1d6df063caff863df64fc84b61 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Fri, 24 Nov 2023 22:56:42 -0600 Subject: [PATCH] broke out door function --- apps/room_control | 2 +- apps/rooms/living_room.yaml | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/apps/room_control b/apps/room_control index f580c7c..4d36c11 160000 --- a/apps/room_control +++ b/apps/room_control @@ -1 +1 @@ -Subproject commit f580c7cfda0dd4b3aa76a73531a38172585cbc58 +Subproject commit 4d36c11bfb316f2f43611ff85589ef9baa85efcd diff --git a/apps/rooms/living_room.yaml b/apps/rooms/living_room.yaml index 4a3168b..b15625f 100644 --- a/apps/rooms/living_room.yaml +++ b/apps/rooms/living_room.yaml @@ -5,7 +5,6 @@ living_room: off_duration: 00:30:00 entity: light.living_room button: Living Room Button - door: binary_sensor.door_front states: - time: sunrise scene: @@ -67,4 +66,10 @@ living_room: light.living_room: state: 'on' color_name: 'red' - brightness_pct: 50 \ No newline at end of file + brightness_pct: 10 + +front_door: + module: door + class: DoorControl + app: living_room + door: binary_sensor.front_contact