Skip to content

Door sensor automation

Door sensor automation

Hey, is there an automation or shortcut to the door sensor that can detect if I’m leaving or coming back? What I want to do is play music if I enter the room, but stop it if I leave. Right now it stops right when I close the door, so it stops when I walk in and close the door. Maybe someone did something similar.