aukedejong / lovelace-windrose-card

Home Assistant Lovelace Windrose Card
82 stars 3 forks source link

Card not displaying #42

Closed zagi988 closed 11 months ago

zagi988 commented 11 months ago

Any idea why is the card simply not displaying? Neither in edit mode nor in view mode.

Card:

`

type: custom:windrose-card title: Wind rose data_period: hours_to_show: 24 max_width: 400 refresh_interval: 60 windspeed_bar_location: bottom windspeed_bar_full: true wind_direction_entity: entity: sensor.gw1100a_wind_direction direction_unit: degrees use_statistics: true direction_compensation: 0 windspeed_entities:

`

How it shows: image

Javascript is latest, wind_direction has a unit °, speed has a unit km/h.

aukedejong commented 11 months ago

Can you any errors in the console? Please share them here. F12 in the browser.

zagi988 commented 11 months ago

Turns out wind_direction wasn't in statistics so "use_statistics: true" couldn't be used. Would be good if it showed the error in frontend tho.