Automation: activate scene with scheduler

im trying to create a automation which enables/disables my heating on a weekly schedule but it never gets triggered ?

Im always confused on which string to use then i have to write them myself ? like “On” or “on” or 1 other thatever is the right one.

- id: '1700420959739'
  alias: 'WoZi: heating on schedule ON'
  description: trigger on schedule
  trigger:
  - platform: state
    entity_id:
    - schedule.living_room_heating_schedule
    attribute: next_event
    to: 'on'
  condition: []
  action:
  - service: scene.turn_on
    target:
      entity_id: scene.working
    metadata: {}

image

the schedule seems to be working

To correctly format your text for the forum use the code blocks formatting tool <>. Not the quotation option.

Remove the attribute line from your trigger.