I fond out that I could add area to turn on lights as per picture. But is there a equivalant for state_change in area? I would like to have all devices classed as motion sensors in "Basemnet Livingroom" to trigger this. Then if not active for 15 minutes then turn off light.
[When area "Basement Livingroom" is active] -> Turn on lights in that area
[When area "Basement Livingroom" has been inactive for 15 minutes] -> Turn off lights in that area.