I posted a similar question about turning off lights that were turned on manually.
Basically, there needs to be a few additions to the core software so it is an option in all apps automatically:
- a “previous device state” variable so it understands the state of the device prior to execution of the action which can be held by the app to complete that task later, such as the timer to turn off a light
- the ability to turn off devices as either “all selected no matter their previous state” or “only devices that were not in a differnt state than expected when action began” (and the opposite of this one, as in “only the devices that were in a differnt previous state” (I can’t think of a scenario for the last one, but it seems that having the opposite of something is always a good option to have)