Could it be possible to add a priority to a mode?
Like i have mode manager running some mode changes during the day, and some modes are activated manually.
I have a mode for evening, and one for night.
Evening is changed manually, but also via mode manager at a certain time.
Night is only changed manually.
Sometimes, the night mode is activated before the certain time for evening, thus having the mode "fall back" to an earlier mode.
I know this could be done in Rule machine of sorts, but i think it could work better putting a priority on a mode.
If my night mode had a higher priority than evening. Then evening could not be activated even if the certain time came up.