Skip to content

Is there a way to make a button replace a sensor?

Is there a way to make a button replace a sensor?

So, basically I have a door and window sensor that turns on my basement lights with automation to turn them off after an hour. This works 90% of the time, however, there are times when I am in the basement over an hour, such as when working and / or working on a project. Is there any way to place a button that, when pressed, keeps the lights on until otherwise specified?