Adding Time & Date to Dashboard

I’m using Lovelance GUI to add components, and I want to add a simple Time & Date.

The problem is that insctructions above are for yaml editing.

How should I do in my case? I’ve tried to copy paste the below to the my raw configuration editor, but nothing happened.

sensor:
  - platform: time_date
    display_options:
      - 'time'
      - 'date'
      - 'date_time'
      - 'date_time_utc'
      - 'date_time_iso'
      - 'time_date'
      - 'time_utc'
      - 'beat'

That configuration goes in your /config/configuration.yaml file. Not the raw editor panel.

Make sure there is only one sensor: key in your file.