I have tried to do the following that seems very simple but I simply can?t:
I want that when a door sensor is opened, the lights of a room turn on and a receive an e-mail alert. BUT I WANT THIS TO HAPPEN ONLY BETWEEN 10 PM and 6 AM and here is where I simply can?t find a clue.
Create a scene which arms the sensor at 10 pm with a trigger which is sending an email when the armed sensor is tripped. Create another scene with a schedule at 7 am which disarms the sensor