I would like to have your ideas how to best implement the following.
I already have a time based rule using time of the day to trigger my roller shutters. Independently I also have a rule for “cinema” that uses time of the day and decides if the roller shutter should be closed or not. In principle I do not like to have roller shutter closed when I am still in the living room. Only if sun is too bright and I am watching TV (= “cinema”) this makes sense for me.
These rules work independently and fine.
I now had the situation that I was watching TV in the evening. As it was dark outside no roller shutters have been closed. As it was getting later (11 pm) the time based trigger decided to close the roller shutter. I would like to detect this and somehow “pause” this action until cinema is finished. Any ideas how this could be done clever (any easily )?
Thanks and best