Help with creating automation with scene

- alias: 'Activate Morning Scene'
  trigger:
    platform: time
    after: '06:00:00'
  condition:
  - condition: time
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
  action:
    service: scene.turn_on
    entity_id: scene.test_scene

Hi, so i want to do an automation, i want to activate the “Morning” scene mon-fri at 6 am.

HA says its invalid config, and i can not figure out why.

Anyone that could help me :slight_smile: Thanks

I use the following note the indentation…

 - alias: "Mornin"
   trigger:
     platform: time
     at: '06:00'   <------- use 'at' and hours and minutes
   condition:
     - condition: time <-------- indentation
       weekday:
         - mon
         - tue
         - wed
         - thu
         - fri
         - sat
   action:
     - service: light.turn_on
       entity_id: light.zw_uplight_dimmer_level

Hopefully that should work :slight_smile:

Thanks!, That worked!!