From 2fdc61e9a957675fd7b868a040049f742ca0a903 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Erik=20Hedenstr=C3=B6m?= <erik@hedenstroem.com>
Date: Mon, 9 Oct 2023 18:58:04 +0000
Subject: [PATCH] Added motion device class for closet door

---
 automation/closet-light-timer.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/automation/closet-light-timer.yaml b/automation/closet-light-timer.yaml
index 0dfe714..0acc507 100644
--- a/automation/closet-light-timer.yaml
+++ b/automation/closet-light-timer.yaml
@@ -9,8 +9,9 @@ blueprint:
       selector:
         entity:
           domain: binary_sensor
-          device_class: door
-          device_class: motion
+          device_class:
+            - door
+            - motion
     closet_light:
       name: Closet Light
       description: The light in the closet.
-- 
GitLab