Code Monkey home page Code Monkey logo

ztm-stop-card's People

Contributors

peetereczek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ztm-stop-card's Issues

Problem z konfiguracją karty

Przy konfiguracji karty mam w nagłówku komunikat: No card type configured
Niezbędne integracje zostały włączone

Konfiguracja w configuration.yaml
sensor:

  • platform: ztm
    api_key: XXX-XXX
    lines:
    • number: 17
      stop_id: 3286
      stop_number: "03"

Konfiguracja karty w yaml:
resources:

  • type: module
    url: /www/community/ztm-stop-card/ztm-stop-card.js
    cards:
  • type: custom:ztm-stop-card
    entity: sensor.ztm_17_from_3286_03
  • type: custom:bkk-stop-card
    entity: sensor.ztm_17_from_3286_03

Proszę o podpowiedź co jest/może być problemem

Custom element doesn't exist: ztm_stop_card

HA 0.115.6
HACS 1.6.0

Integration installed from HACS but it doesnt work:

Custom element doesn't exist: ztm_stop_card.
type: 'custom:ztm_stop_card'

Either path is wrong or some bug in integration because /www/community/ztm_stop_card/ztm_stop_card.js path doesn't exist after installation. There's /www/community/ztm-stop-card/ztm-stop-card.js insted but changing custom:ztm_stop_card to custom:ztm-stop-card in lovelace card doesn't work.

Custom element doesn't exist: ztm_stop_card.

HA 0.106.5

arch x86_64
dev false
docker true
hassio true
os_name Linux
python_version 3.7.6
timezone Europe/Warsaw
version 0.106.5
virtualenv false

browser log:
Uncaught (in promise) DOMException: Failed to execute 'whenDefined' on 'CustomElementRegistry': "ztm_stop_card" is not a valid custom element name
at a (https://www.siemek.info:8123/frontend_latest/chunk.b5b99c32e8fe08e69155.js:2212:4034)
at l (https://www.siemek.info:8123/frontend_latest/chunk.b5b99c32e8fe08e69155.js:2212:4369)
at Hi (https://www.siemek.info:8123/frontend_latest/chunk.b5b99c32e8fe08e69155.js:4629:607)
at HTMLElement.value (https://www.siemek.info:8123/frontend_latest/chunk.b5b99c32e8fe08e69155.js:5902:15172)
at https://www.siemek.info:8123/frontend_latest/chunk.b5b99c32e8fe08e69155.js:5982:1566
at Array.forEach ()
at HTMLElement.value (https://www.siemek.info:8123/frontend_latest/chunk.b5b99c32e8fe08e69155.js:5982:1537)
at HTMLElement.value (https://www.siemek.info:8123/frontend_latest/chunk.b5b99c32e8fe08e69155.js:5982:474)
at HTMLElement.performUpdate (https://www.siemek.info:8123/frontend_latest/app.e0d83916.js:2:13852)
at HTMLElement._enqueueUpdate (https://www.siemek.info:8123/frontend_latest/app.e0d83916.js:2:13331)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.