Option wird nicht ausgeführt obwohl die Bedingungen erfüllt sind

Hallo, ich wieder mal…

Habe ein kleines Problem mit einer Automation von einem Rolladen.

Habe als es geregnet hat den Rolladen auf 20 gestellt. nun hat es aufgehört. aber der rolladen geht nicht hoch obwohl die bedingungen der option4 erfüllt wurden mit den regensensor…

Hat jemand eine Idee?

alias: Rolladen_Schlafzimmer
description: ""
triggers:
  - trigger: state
    entity_id:
      - binary_sensor.hmip_srd_00275be998f665_regen
    id: Regen
  - trigger: state
    entity_id:
      - sensor.hmip_slo_000d5be9a4defd_durchschnittliche_beleuchtungsstarke
    id: Lichtsensor
  - trigger: state
    entity_id:
      - sun.sun
    id: Sonnenstand
  - trigger: state
    entity_id:
      - sensor.hmip_swo_b_0017dbe99e9150_temperatur
    id: Temperatur
  - trigger: state
    entity_id:
      - input_boolean.rolladensperre
    to: "off"
    id: Rolladensperre AUS
  - trigger: time
    at: "10:00:00"
    id: 10Uhr
  - trigger: time
    at: "21:00:00"
    id: 21Uhr
conditions: []
actions:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - Regen
              - Lichtsensor
              - Rolladensperre AUS
          - condition: time
            after: "13:15:00"
            before: "21:00:00"
            weekday:
              - mon
              - tue
              - wed
              - thu
              - fri
              - sat
              - sun
          - condition: numeric_state
            entity_id: cover.hm_lc_bl1pbu_fm_qeq1926785
            above: 20
          - condition: state
            entity_id: binary_sensor.hmip_srd_00275be998f665_regen
            state: "off"
          - condition: numeric_state
            entity_id: sun.sun
            attribute: elevation
            above: 8
          - condition: numeric_state
            entity_id: >-
              sensor.hmip_slo_000d5be9a4defd_durchschnittliche_beleuchtungsstarke
            above: 5000
          - condition: numeric_state
            entity_id: sensor.hmip_swo_b_0017dbe99e9150_temperatur
            above: 25
          - condition: state
            entity_id: input_boolean.rolladensperre
            state: "off"
        sequence:
          - action: cover.set_cover_position
            metadata: {}
            data:
              position: 10
            target:
              device_id: 4991a75156f43dd852586cef3d93d611
        alias: Rolladen auf 10%
      - conditions:
          - condition: trigger
            id:
              - Regen
              - Rolladensperre AUS
              - 10Uhr
          - condition: time
            after: "10:00:00"
            before: "21:00:00"
            weekday:
              - mon
              - tue
              - wed
              - thu
              - fri
              - sat
              - sun
          - condition: numeric_state
            entity_id: cover.hm_lc_bl1pbu_fm_qeq1926785
            above: 20
          - condition: state
            entity_id: binary_sensor.hmip_srd_00275be998f665_regen
            state: "on"
          - condition: numeric_state
            entity_id: sensor.hmip_swo_b_0017dbe99e9150_temperatur
            above: 2
          - condition: state
            entity_id: input_boolean.rolladensperre
            state: "off"
        sequence:
          - action: cover.set_cover_position
            metadata: {}
            data:
              position: 20
            target:
              device_id: 4991a75156f43dd852586cef3d93d611
        alias: Rolladen auf 20%
      - conditions:
          - condition: trigger
            id:
              - Regen
              - Rolladensperre AUS
              - Sonnenstand
          - condition: time
            after: "13:15:00"
            before: "21:00:00"
            weekday:
              - mon
              - tue
              - wed
              - thu
              - fri
              - sat
              - sun
          - condition: numeric_state
            entity_id: cover.hm_lc_bl1pbu_fm_qeq1926785
            below: 21
          - condition: state
            entity_id: binary_sensor.hmip_srd_00275be998f665_regen
            state: "off"
          - condition: numeric_state
            entity_id: sun.sun
            attribute: elevation
            below: 8
          - condition: state
            entity_id: input_boolean.rolladensperre
            state: "off"
        sequence:
          - action: cover.open_cover
            metadata: {}
            data: {}
            target:
              device_id: 4991a75156f43dd852586cef3d93d611
        alias: Rolladen AUF
      - conditions:
          - condition: trigger
            id:
              - Regen
              - Rolladensperre AUS
              - Temperatur
          - condition: time
            after: "13:15:00"
            before: "21:00:00"
            weekday:
              - mon
              - tue
              - wed
              - thu
              - fri
              - sat
              - sun
          - condition: numeric_state
            entity_id: cover.hm_lc_bl1pbu_fm_qeq1926785
            below: 21
          - condition: state
            entity_id: binary_sensor.hmip_srd_00275be998f665_regen
            state: "off"
          - condition: state
            entity_id: input_boolean.rolladensperre
            state: "off"
          - condition: numeric_state
            entity_id: sensor.hmip_swo_b_0017dbe99e9150_temperatur
            below: 25
        sequence:
          - action: cover.open_cover
            metadata: {}
            data: {}
            target:
              device_id: 4991a75156f43dd852586cef3d93d611
        alias: Rolladen AUF
      - conditions:
          - condition: trigger
            id:
              - Regen
              - Rolladensperre AUS
              - 10Uhr
          - condition: time
            after: "10:00:00"
            before: "13:15:00"
            weekday:
              - mon
              - tue
              - wed
              - thu
              - fri
              - sat
              - sun
          - condition: numeric_state
            entity_id: cover.hm_lc_bl1pbu_fm_qeq1926785
            below: 21
          - condition: state
            entity_id: binary_sensor.hmip_srd_00275be998f665_regen
            state: "off"
          - condition: state
            entity_id: input_boolean.rolladensperre
            state: "off"
        sequence:
          - action: cover.open_cover
            metadata: {}
            data: {}
            target:
              device_id: 4991a75156f43dd852586cef3d93d611
        alias: Rolladen AUF
      - conditions:
          - condition: trigger
            id:
              - Rolladensperre AUS
              - 21Uhr
              - Sonnenstand
          - condition: time
            after: "21:00:00"
            before: "10:00:00"
            weekday:
              - mon
              - tue
              - wed
              - thu
              - fri
              - sat
              - sun
          - condition: numeric_state
            entity_id: cover.hm_lc_bl1pbu_fm_qeq1926785
            below: 21
          - condition: state
            entity_id: input_boolean.rolladensperre
            state: "off"
          - condition: numeric_state
            entity_id: sun.sun
            attribute: elevation
            below: 6.8
        sequence:
          - action: cover.open_cover
            metadata: {}
            data: {}
            target:
              device_id: 4991a75156f43dd852586cef3d93d611
        alias: Rolladen AUF
mode: single

Die Option 4

Was sagt der Trace? Da müsste man sehen, wie es läuft.

Um 21 Uhr sollte es eigentlich auf jeden Fall hoch gehen… Hat auch nicht geklappt:

Hier der Trace:
Das ist die letzte Bedingung:

Ausgeführt: 14. Dezember 2024 um 23:18:08
Ergebnis:

result: null

conditions/0
[Unbekannte Bedingung]
Ausgeführt: 14. Dezember 2024 um 23:18:08
Ergebnis:

result: true

conditions/1
[Unbekannte Bedingung]
Ausgeführt: 14. Dezember 2024 um 23:18:08
Ergebnis:

after:
  __type: <class 'datetime.time'>
  isoformat: '21:00:00'
now_time:
  __type: <class 'datetime.time'>
  isoformat: '23:18:08.901398'
before:
  __type: <class 'datetime.time'>
  isoformat: '10:00:00'
weekday:
  - mon
  - tue
  - wed
  - thu
  - fri
  - sat
  - sun
now_weekday: sat
result: true

conditions/2
[Unbekannte Bedingung]
Ausgeführt: 14. Dezember 2024 um 23:18:08
Fehler: In 'numeric_state': In 'numeric_state' condition: entity cover.hm_lc_bl1pbu_fm_qeq1926785 state 'open' cannot be processed as a number
conditions/2/entity_id/0
[Unbekannte Bedingung]
Ausgeführt: 14. Dezember 2024 um 23:18:08
Fehler: In 'numeric_state' condition: entity cover.hm_lc_bl1pbu_fm_qeq1926785 state 'open' cannot be processed as a number 

UNd das ist aus der 3. Bedingung:

Ausgeführt: 14. Dezember 2024 um 23:38:08
Ergebnis:

result: false

conditions/0
[Unbekannte Bedingung]
Ausgeführt: 14. Dezember 2024 um 23:38:08
Ergebnis:

result: true

conditions/1
[Unbekannte Bedingung]
Ausgeführt: 14. Dezember 2024 um 23:38:08
Ergebnis:

after:
  __type: <class 'datetime.time'>
  isoformat: '13:15:00'
now_time:
  __type: <class 'datetime.time'>
  isoformat: '23:38:08.904054'
before:
  __type: <class 'datetime.time'>
  isoformat: '21:00:00'
result: false

Da hast du wohl eine falsche Bedingung

1 „Gefällt mir“