Automation mit Status von met.no

Hallo

Ich kämpfe gerade mit einer automation für meine Rollläden. Leider hängt diese immer bei dem Status „sunny“ oder „partlycloudy“ der integration met.no. Irgendwie finde ich den Fehler dort nicht, evtl weiß jemand von euch ja weiter.

Lg und danke vorab


alias: sonnenschutz
description: ""
trigger:
  - platform: time_pattern
    minutes: /15
condition:
  - condition: and
    conditions:
      - condition: numeric_state
        entity_id: sun.sun
        attribute: azimuth
        above: 105
        below: 226
      - condition: numeric_state
        entity_id: sun.sun
        attribute: elevation
        above: 35
      - condition: numeric_state
        entity_id: weather.forecast_home
        attribute: temperature
        above: 20
      - condition: state
        entity_id: input_boolean.sonnenschutz
        state: "on"
      - condition: or
        conditions:
          - condition: state
            entity_id: weather.forecast_home
            attribute: cloud_coverage
            state: sunny
          - condition: state
            entity_id: weather.forecast_home
            attribute: cloud_coverage
            state: partlycloudy
  - condition: time
    after: "09:00:00"
    before: "19:00:00"
  - condition: or
    conditions:
      - condition: device
        device_id: 7bfae7ef2ee8aaf7f99b5db5902cc0dc
        domain: cover
        entity_id: 47941aa8a3dcd184bf0fb281eb43fb28
        type: is_position
        above: 60
      - condition: device
        device_id: 797e1c9d54d4e1151a96b726cbe45412
        domain: cover
        entity_id: d76cb4508161bfbaf6c758105385368c
        type: is_position
        above: 0
      - condition: device
        device_id: 887ceb49a97ef47a4b41ebb0c90ea2f6
        domain: cover
        entity_id: c94070b75f36d58d4ce6700060d881e8
        type: is_position
        above: 0
      - condition: device
        device_id: f3659b249f0684183896df08847c9afa
        domain: cover
        entity_id: 00f1edad5ac85c1ebbec7d822bf52614
        type: is_position
        above: 60
      - condition: device
        device_id: 5050ccdf2629b6ffeebedd9712f3a6ee
        domain: cover
        entity_id: 305c6cc2301f304dfb24a95de7fcd2a2
        type: is_position
        above: 60
  - condition: template
    value_template: >-
      {{ not state_attr('automation.sonnenschutz',
      'last_triggered').day==now().day }}
action:
  - parallel:
      - device_id: 7bfae7ef2ee8aaf7f99b5db5902cc0dc
        domain: cover
        entity_id: 47941aa8a3dcd184bf0fb281eb43fb28
        type: set_position
        position: 60
      - device_id: 887ceb49a97ef47a4b41ebb0c90ea2f6
        domain: cover
        entity_id: c94070b75f36d58d4ce6700060d881e8
        type: set_position
        position: 0
      - device_id: 797e1c9d54d4e1151a96b726cbe45412
        domain: cover
        entity_id: d76cb4508161bfbaf6c758105385368c
        type: set_position
        position: 0
      - device_id: 5050ccdf2629b6ffeebedd9712f3a6ee
        domain: cover
        entity_id: 305c6cc2301f304dfb24a95de7fcd2a2
        type: set_position
        position: 60
      - device_id: f3659b249f0684183896df08847c9afa
        domain: cover
        entity_id: 00f1edad5ac85c1ebbec7d822bf52614
        type: set_position
        position: 60
mode: single