Weather condition

I’m trying to made an automation in UI more than one hour to test it.

  - event: sunset
    platform: sun
  - above: '12'
    condition: numeric_state
    entity_id: sensor.yr_symbol
  - data:
      message: Will be on
      title: Light
    service: notify.mobile_app_sf
  1. I would like to trigger it 2 hours before sunset. I’m trying write ‘-02:00:00’ or “-02:00:00” or -02:00:00 I’ve got always an error similar to:
    Message malformed: offset ‘02:00:00’ should be format ‘HH:MM’ or ‘HH:MM:SS’ for dictionary value @ data[‘trigger’][0][‘offset’]
    Positive or negative values not depend.
  2. Ok without offset. When I try to run it, always send notification, regardeless condition. I don’t know how to test it.

I found that negative values, ie. before sunset, are not working.