Weather forecast snowy

Hi all can anyone help with this runs manually but not if forecast changes to snowy

alias: snowing
description: ""
trigger:
  - platform: state
    to: snowy
    entity_id:
      - weather.forecast_home_2
    attribute: forecast
condition: []
action:
  - service: light.turn_on
    metadata: {}
    data:
      rgb_color:
        - 14
        - 28
        - 225
      brightness: 254
    target:
      device_id: 8e745dfa0aed0eb8c1826cd90efcb460
mode: single

Simply use the state change:

trigger:
  - platform: state
    to: snowy
    entity_id:
      - weather.forecast_home_2

condition: []

I can’t see what you mean the stat is set to snowy and when forecast changes to that light has not been triggered

@pedolsky means (I think) remove the attribute:

    attribute: forecast

As jchh said, my example above doesn’t address any attribute.

Yes that works thanks

Thanks works now