hvorragend / ha-blueprints

Other
32 stars 9 forks source link

Feature request: Option to ignore manual override before automation starts #124

Open hankys opened 1 month ago

hankys commented 1 month ago

Hello, I would like to make a suggestion to further improve the automation.

Background: I have set the automatic opening of the shutters in the bedroom to 10 a.m. on weekends so that I am not woken up unnecessarily. If I wake up at 9 a.m. now, I have the shutters raised manually by myself at that time. This causes my "Ignore/override next automatic sun shading after manual position changes" to trigger, and my automatic shading is disabled because status_helper "manual" will be set to "true".

_Suggestion: Option to not set "manual" to "true" in the statushelper, if manual full opening on shutter were made before automation kicks in.

(Same could be done for e.g. automatic opening. Same background: If i wake up at 9 a.m. and put the shutters to shading position manually myself, i don't want the automatic opening to kick in at 10 a.m.)

hvorragend commented 1 month ago

I understand your questions. Of course, this could lead to problems for other users. So it must be configurable.

Conclusion: Only unknown positions are recognized as manual intervention. Or?

Another question: Does it perhaps even make sense for you to switch off the manual override completely?

hankys commented 1 month ago

Of course I could deactivate the "manual override".

My idea was to have an option to view the first complete manual opening of the shutter in the status helper as if it had happened automatically, because there are days when I would like to raise the shutters earlier than planned in the automation (as in the example from the first post, manual opening at 9:00 instead of automatically at 10:00).

The following scenarios result from my previous example:

"manual override" deactivated, option 1: If the sun now exceeds my configured value of 20,000lx for sun shading at 1:00 p.m., for example, the shutter is moved to the shading position 20%.

"manual override" deactivated, option 2: At 11:00 I set the position of the shutter to 50%, because this position is sufficient for me for that day, or because I need daylight in the room. If the sun now exceeds my configured value of 20,000lx for sun shading at, for example, 1:00 p.m., the roller shutter will move to the shading position from 50% to 20%. This means that I would have to manually move it back to the 50% position.

"manual override" activated: If the sun now exceeds my configured value of 20,000lx for sun shading at, for example, 1:00 p.m., nothing happens. Sun shading would only work manually in this case.

hvorragend commented 1 month ago

After all, we are talking about a feature request in which roller blind movements to known positions should not be recognized as manual movements, right?

Or vice versa: it should be configurable so that only roller blind movements to unknown positions are recognized as manual corrections, right?

hankys commented 1 month ago

After all, we are talking about a feature request in which roller blind movements to known positions should not be recognized as manual movements, right?

Or vice versa: it should be configurable so that only roller blind movements to unknown positions are recognized as manual corrections, right?

I've thought about it again and am not sure if that is the right approach.

Perhaps the option of resetting the status "manual:true" to "manual:false" would be a good idea. Perhaps as a separate helper that I can use for self-created automations?

This would give the option of adapting the behavior of the manual status.

As given as an example in the first post, it would be important to me to have the option of opening the shutters in the morning before the set values ​​of the automation. But that shouldn't stop the rest of the automation in relation to sun shading. And of course I would still like to have the option of setting my sun shading position myself via override.