hvorragend / ha-blueprints

Other
40 stars 8 forks source link

Disable Resident between early and late drive down time #154

Open bonzenpaule opened 1 month ago

bonzenpaule commented 1 month ago

Hi!

Is it possible to force the resident / presence condition to open the shades only after the early time?

Right now I have disabled shading during the day and the shades only go down between the “early drive down” and the “late drive down” time - depending on other conditions - just as they should.

If someone enters the room after the "early drive down" time and the presence sensor changes to on / occupied and the shades stay down - again just as it should.

But: If we leave the room before the “late drive down” time and the presence sensor changes to off / not occupied the shades go up. They only stay down when we leave the room after the “late drive down” time.

Can this behaviour be fixed?

I only want them to go up when we leave the room after the “early drive up” time - so only in the morning.

Right now I fixed the issue through a second automation which disables the presence sensor between the early and the late drive down time.

But I guess an option inside this automation would be better.

Here is my config and a trave of the last drive up triggered by the presence sensor going off: https://controlc.com/435fcb42

Any help would be appreciated.

Thanks in advance.

fsedarkalex commented 3 weeks ago

This could probably be related to or even the same as my #155

bonzenpaule commented 3 weeks ago

Yep, it is. :) Here is a new trace, because my first one is deleted by now. https://pastebin.com/raw/Lcv1U07t

hvorragend commented 3 weeks ago

Side question: Why do you actually use your own file hosters if you can upload the file to GitHub via drag & drop? :-)