0.46 Need help updating automation fix deprecation of 'state' in trigger

So if I am just looking for trigger’s using ‘state’, do I change the line reading
state: 'above_horizon'
to
to: 'above_horizon'

???

# Turns on Christmas Tree lights
- alias: 'Christmas Tree on'
  trigger:
  - platform: state
    entity_id: sun.sun
    state: 'above_horizon'
  - platform: state
    entity_id: group.tracked
    from: 'not_home'
    to: 'home'
  condition:
    condition: and
    conditions:
      - condition: state
        entity_id: group.tracked
        state: 'home'
      - condition: state
        entity_id: input_boolean.holiday_mode
        state: 'on'
      - condition: state
        entity_id: group.tree
        state: 'off'
      - condition: time
        before: '22:30'
  action:
    service: homeassistant.turn_on
    entity_id: group.tree