diff --git a/automation/closet-light-timer.yaml b/automation/closet-light-timer.yaml
index 648f35af31d6ad1ef7825670896a77ecda98e571..0074d2814eb9798ddcd335993be0b5febf9c2b41 100644
--- a/automation/closet-light-timer.yaml
+++ b/automation/closet-light-timer.yaml
@@ -9,6 +9,7 @@ blueprint:
       selector:
         entity:
           domain: binary_sensor
+          device_class: door
     closet_light:
       name: Closet Light
       description: The light in the closet.