Mini-graph-card: Having problems getting this to work again, "No card type configured"

Created on 23 Jun 2019  路  2Comments  路  Source: kalkih/mini-graph-card

Hello, I have a new installation of Hassio and im having trouble getting this card to work:
This is what I have in my ui-lovelace.yaml

resources:
  - type: module
    url: /local/mini-graph-card-bundle.js?v=0.4.3
title: casa
views:
...

And this is that Im trying to add to love lace(grabbed from one of the examples from here):

- type: custom:mini-graph-card
  entities:
   - sensor.speedtest_download
  align_icon: left
  align_state: center
  show:
    fill: false

And im getting a "No card type configured" error, I have the .js file in the www/ folder. Im not completely sure what is wrong here

question

Most helpful comment

Hi,
If you are trying to add the card config from the lovelace web UI, try removing the dash (-) before type.

All 2 comments

Hi,
If you are trying to add the card config from the lovelace web UI, try removing the dash (-) before type.

Thanks!
After that, I also had to fix the indentation of most lines. But its working now

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Joezi79 picture Joezi79  路  4Comments

brezuicabogdan picture brezuicabogdan  路  5Comments

balloob picture balloob  路  4Comments

gerard33 picture gerard33  路  6Comments

skarfacegc picture skarfacegc  路  7Comments