wassy92x / lovelace-digital-clock

A custom digital clock card for Home Assistant
MIT License
89 stars 13 forks source link

Custom element not found: digital-clock #13

Closed NVader2000 closed 2 years ago

NVader2000 commented 2 years ago

Just installed, created a custom card, and pasted the following. What am I missing?

type: 'custom:digital-clock' dateFormat: weekday: 'long' day: '2-digit' month: 'short' timeFormat: hour: '2-digit' minute: '2-digit'

wassy92x commented 2 years ago

Your indentation is wrong.

type: 'custom:digital-clock'
dateFormat:
  weekday: 'long'
  day: '2-digit'
  month: 'short'
timeFormat:
  hour: '2-digit'
  minute: '2-digit'

But this can't be the reason for custom elemente not found. Please restart your browser or if it is on your mobile phone, please clear the cache of your app and stop it. After this you can open the app again and the element should be available

wassy92x commented 2 years ago

Please also refer to issue #8