diff --git a/automation/closet-light-timer.yaml b/automation/closet-light-timer.yaml
index 0dfe714704a96164aca03c4fc629283fe13a5084..0acc50782008b7e3d01005c43e4abaf4aba41b92 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.