lvanderree / com.synplyworks.thenmore

Homey Then functionality
GNU General Public License v3.0
0 stars 4 forks source link

Cancel running timer turns on device #24

Open inventgroep opened 2 years ago

inventgroep commented 2 years ago

Hi Leo,

When cancelling a timer (doesn't matter if it was started before) for a device, it turns on the device (eg. lamp). Is it possible to add a parameter which tells the step to "turn on", "turn off" or "keep current state" ? I have a flow with a motion sensor which turns on a central room light and also cancels a timer for that light (and also for two others). When motion sensor enters the "no motion" state I will start the timer for not only the central light but also other lights which can be turned on manually. When the were not turned on and motion is detected again, the "cancel timer" for the other two lights turns on the lights in stead of keep them off (because they are not turned on manually).

Regards,

Wietse