Velux open and rain or snow

OK, so I think I have it but it’s not simple, maybe I am over complicated this

alias: Loft Window left open
description: Repeat alert to pushover if loft windows left open and it is raining or snowing
trigger:
  - platform: state
    entity_id:
      - binary_sensor.loft_window_isopen_opening
    to: "on"
    for:
      hours: 0
      minutes: 30
      seconds: 0
condition:
  - condition: state
    entity_id: sensor.openweathermap_condition
    state: rainy
  - condition: or
    conditions:
      - condition: state
        entity_id: sensor.openweathermap_condition
        state: pouring
  - condition: or
    conditions:
      - condition: state
        entity_id: sensor.openweathermap_condition
        state: lightning-rainy
  - condition: or
    conditions:
      - condition: state
        entity_id: sensor.openweathermap_condition
        state: snowy
  - condition: or
    conditions:
      - condition: state
        entity_id: sensor.openweathermap_condition
        state: snowy-rainy
action:
  - repeat:
      while:
        - condition: state
          entity_id: binary_sensor.loft_window_isopen_opening
          state: "on"
        - condition: state
          entity_id: sensor.openweathermap_condition
          state: rainy
        - condition: or
          conditions:
            - condition: state
              entity_id: sensor.openweathermap_condition
              state: pouring
        - condition: or
          conditions:
            - condition: state
              entity_id: sensor.openweathermap_condition
              state: lightning-rainy
        - condition: or
          conditions:
            - condition: state
              entity_id: sensor.openweathermap_condition
              state: snowy
        - condition: or
          conditions:
            - condition: state
              entity_id: sensor.openweathermap_condition
              state: snowy-rainy
      sequence:
        - data:
            title: Loft Window
            message: Open > 30 minutes
            data:
              sound: siren
              priority: 1
          action: notify.pushover
        - data:
            media_content_type: audio/mp3
            media_content_id: >-
              http://funkytwig.com/wp-content/uploads/2024/01/mixkit-classic-alarm-4-995.mp3
          target:
            entity_id: media_player.hall_speaker
          action: media_player.play_media
        - delay:
            hours: 0
            minutes: 30
            seconds: 0
mode: single

Think I have all the statutes, I got them from https://www.reddit.com/r/homeassistant/comments/u89qx6/openweathermap_list_of_states/ which references Weather Conditions - OpenWeatherMap but this is a little confusing as it seems to have a different list. Looks like HA is doing some kind of mapping but cant find docs for this.