iantrich / list-card

📰 Display sensor list data in a table
Apache License 2.0
121 stars 34 forks source link

Card is not visible in home assistant #52

Closed PavelD closed 1 year ago

PavelD commented 1 year ago

when card is installed via HACS in Home Assistant 2022.9.4 then the card is not available in the list of cards.

When type: custom:list-card is used during direct yaml edit then No card type found is displayed.

PavelD commented 1 year ago

I tried installation of main branch version as well as 0.1.1. The behavior is not different in both versions.

PavelD commented 1 year ago

After some investigation following block of code is missing in the list-card.js:

window.customCards = window.customCards || [];
window.customCards.push({
  type: "list-card",
  name: "List Card",
  preview: false,
  description: "The List Card allows you table generated with data from sensor  that provides data as a list of attributes."
});

Description can be different.