Custom Element Doesn't Exist - on Google Display Only

Hi. I am using digital-clock (HACS). It works on my PC, but when sent to my Google Display it errors - Custom element doesn’t exist… any ideas?

For anyone else:

This added to configuration.yaml fixed this issue for me:

lovelace:
  resources:
# Needed for casting...
    - url: /local/community/digital-clock/digital-clock.js
      type: module
1 Like

That’s great, but where does it go?
config.yaml isn’t even a known file.
If you mean configuration,yaml that isn’t a valid key.
Please post a bit more of the file so we have context (sanitized of personal info of course).

Good point. I edited the code snippet, and the file name.

1 Like