Struggling with Choose/Sequence automation

Hello I am new to home assistance and was trying to setup what I thought was a simple automation but can not seem to resolve this error .

Message malformed: extra keys not allowed @ data[‘action’][0][‘choose’][0][‘conditions’][0][‘sequence’]

description: ""
trigger:
  - platform: device
    type: turned_on
    device_id: 55b18ec12d0c0a7e7ea23704249d4a41
    entity_id: light.living_room_lights
    domain: light
action:
  - choose:
      - conditions:
          - condition: time
            before: "05:00:00"
            after: "21:45:00"
            sequence:
              - scene: scene.night_time
    default:
      - scene: scene.day_time

Your indentation is incorrect and your scene services are not correct. Try this and take note of where everything is:

action:
  - choose:
      - conditions:
          - condition: time
            before: "05:00:00"
            after: "21:45:00"
        sequence:
          - service: scene.turn_on
            target:
              entity_id: scene.night_time
    default:
      - service: scene.turn_on
        target:
          entity_id: scene.day_time

Thank you! It seems to be working now.