Need help with time code

Hey
I need help
I would like this automation to work only in the morning.
because when the lamp goes on again in the evening. the reciever also goes to game again. but whatever I have tried I can not get the code right.
thanks

  indent preformatted text by 4 spaces
- id: '1542297159666'
  alias: radio
  trigger:
  - entity_id: light.hue_white_lamp_3
    from: 'off'
    platform: state
  - entity_id: media_player.ue40d6200_ue40d6200
    from: 'on'
    platform: state
    to: 'off'
  condition: []
  action:
  - data:
      entity_id: media_player.receiver
    service: media_player.turn_on
  - data:
      entity_id: media_player.receiverPreformatted text
      source: video3
    service: media_player.select_source
  - alias: ''
    data:
      entity_id: media_player.tv
      media_content_id: http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3
      media_content_type: audio/mp4
    service: media_player.play_media

This should do it.

- id: '1542297159666'
  alias: radio
  trigger:
  - entity_id: light.hue_white_lamp_3
    from: 'off'
    platform: state
  - entity_id: media_player.ue40d6200_ue40d6200
    from: 'on'
    platform: state
    to: 'off'
  condition:
    condition: time
    before: '12:00:00'
  action:

thanks
that works
I am so glad that it now works

gr