custom-cards / surveillance-card

A custom component for displaying camera feeds in the style of a surveillance system.
Apache License 2.0
244 stars 36 forks source link

Custom element doesn't exist: surveillance-card #15

Closed dominikheinz closed 4 years ago

dominikheinz commented 5 years ago

I've added the surveillance-card.js file in the folder where all the other home assistant yaml files are stored. Since the ui-lovelace.yaml file didn't exist previously I've created it and add custom card info:

resources:
  - url: surveillance-card.js
    type: module

I added the card to the UI and I am prompted this:

Custom element doesn't exist: surveillance-card.

{
  "type": "custom:surveillance-card",
  "thumb_interval": 15,
  "update_interval": 2,
  "cameras": [
    {
      "entity": "camera.my_camera"
    }
  ]
}

What did I misconfigurate that it can't find the custom element?

grv2k8 commented 5 years ago

I have the same issue with this card. Did you manage to get it resolved?

kaskader13 commented 5 years ago

I have the same issue with this card. Did you manage to get it resolved?

manny199 commented 5 years ago

I have a problem, I switch in yaml mode, create ui-lovelace.yaml and insert the lines inside it, but in lovelace UI I obtain only this card. How can integrate this card and other cards togheter in lovelace ui without use yaml mode?

These are the contents inside ui-lovelace.yaml: `resources:

views:

prasket commented 5 years ago

this is a duplicate of: https://github.com/custom-cards/surveillance-card/issues/10