Closed WhistleMaster closed 4 years ago
Hello, thanks for your report. The error does unfortunately not give me much information to go on. Could you try starting with a very basic config, then add one option after the other and see at which point it breaks?
Start with e.g.
type: custom:simple-weather-card
entity: weather.dark_sky
primary_info:
- wind_bearing
- humidity
Then
type: custom:simple-weather-card
entity: weather.dark_sky
secondary_info:
- precipitation
And so on...
Thank you!
The following code gives me a card, but the wrong info are displayed:
primary_info:
- wind_bearing
- humidity
secondary_info:
- precipitation
custom:
- temp: sensor.netatmo_outdoor_temperature
- high: sensor.netatmo_outdoor_high_temp
- low: sensor.netatmo_outdoor_min_temp
entity: weather.dark_sky
name: ' '
type: 'custom:simple-weather-card'
As soon as I add precipitation_probability
, I get an empty card:
primary_info:
- wind_bearing
- humidity
secondary_info:
- precipitation
- precipitation_probability
custom:
- temp: sensor.netatmo_outdoor_temperature
- high: sensor.netatmo_outdoor_high_temp
- low: sensor.netatmo_outdoor_min_temp
entity: weather.dark_sky
name: ' '
type: 'custom:simple-weather-card'
Okay, Thanks for the information, I'm pretty sure your browser is not loading the latest version of the card. If you've installed the card manually please try clrearing cache and if you've installed the card with HACS try reinstalling the card. Also make sure your resource reference is correct and is matching the one specified in HACS, see kalkih/mini-graph-card#169
Thanks for your reply.
Unfortunately, I cleared the cache, removed the integration from my YAML configuration file and uninstalled the mini-graph from HACS, re-installed it with HACS and used the correct naming convention... same issue.
Well.... I've tried to manually delete the plugin with SSH and manually install the js file... and it now works.... Maybe an issue with HACS itself...
Thanks for the help !
Alright, yes you're not the first one experiencing issues with HACS lately, there seem to be an issue with updating plugins through HACS at the moment.
Hi !
Thanks for the amazing work you do ! I've updated to latest version 0.7.2, but primary_info and secondary_info are not working. I'm using the following configuration:
But I get the following error and the card is not displaying:
TypeError: E[A] is undefined simple-weather-card-bundle.js:1:4519
Thanks !