Hello, I’m wondering if someone can help me write a simple code for a contact sensor, I’m happy to reimburse for the time, considering I can’t really offer much else .
Im looking for a door contact sensor to turn a light or lights on when a door is opened, but turn them off when a door is closed a second time with in a specific amount of time that could be entered on the smartapp (considering the first time a door is closed would be when someone goes into a room and closes the door initially). I would also like to add a scheduling ability as different lights would need to be triggered during day or night.
Any help is appreciated. Thank You.