hvorragend / ha-blueprints

Other
32 stars 9 forks source link

Residents prevents driving into the shading in the morning #131

Closed hvorragend closed 1 week ago

hvorragend commented 1 month ago

I'll add a discussion here so that I can better understand my changes later. Thanks for the tips from the person. Since I have not asked the person whether I may write down his sentences here, I will not name the author until then. In any case, his advice is very valuable and I don't want that to get lost.

Mir ist da auch was aufgefallen. Person X schläft (derzeit) mit geöffnetem Rollo. Wenn X nun aber lange schläft und alle anderen Rollos bereits ins Shading fahren, dann bleibt dieses Rollo weiterhin geöffnet. Grundsätzlich klar, weil du das rausfilterst. Die Frage ist nur, wenn die aktuelle Position höher ist als die Shading Position, sollte dann nicht trotz TRUE beim resident_sensor ins Shading gefahren werden?

Ich möchte mal dieses OR ha-blueprints/blueprints/automation/cover_control_automation.yaml at bb220791c9ed3ebb66ed2f2dd3ac2c3d12a3b303 · hvorragend/ha-blueprints · GitHub in Frage stellen

Verhindert im Moment bei einem meiner Rollos, dass morgens ins Shading gefahren wird (Ferien halt). Jetzt gibt es verschiedene Varianten, die man umsetzen könnte:

‘{{ is_state(resident_sensor, [’‘false’‘, ‘‘off’’]) }}’ und gleichzeitig prüfen, ob die Position des Rollos oberhalb der Shading_Position und nicht auf der Closing_Position oder Ventilate_Position ist obiges nur machen, wenn das Verhalten explizit gewünscht wurde (neuer Toggle) something else

Hab’s gerade mal so bei mir (hoffentlich) gefixt:

- or:
      - '{{ resident_sensor == [] }}'
      - '{{ is_state(resident_sensor, [''false'', ''off'']) }}'
      - and:
        - '{{ is_state(resident_sensor, [''true'', ''on'']) }}'
        - '{{ (current_position | int(default=101) > ventilate_position) }}'
hvorragend commented 1 month ago

Ich frage mich jetzt nur, ob ein schlafender Bewohner nicht Ruhe haben will und nicht durch Motoren geweckt werden möchte. Notfalls muss ich das optional aktivierbar machen.

hvorragend commented 1 week ago

Fixed in 2024.09.04