Turn off tv @ a time

Hi

im trying todo a simple config to turn off my tv at 02.00

  - alias: Turn off tv @ 0200
trigger:
  platform: time
  after: '02:00:00'
action:
  - service: media_player.turn_off
    entity_id: media_player.ue46d6500_ue46d6500       

But i get this error:
[homeassistant.config] Invalid config for [automation]: [after] is an invalid option for [automation]. Check: automation->trigger->0->after.

This did work before, what im I doing wrong?

“before/after” as a time trigger has been replaced by “at:” That’s your issue here.

Thanks alot!