aex351 / home-assistant-neerslag-card

Display Buienalarm and/or Buienradar data in a graph for Home Assistant.
29 stars 3 forks source link

Unable to parse output as JSON #16

Closed AndyVRD closed 3 years ago

AndyVRD commented 3 years ago

Hi,

Just installed and works fine but always trows this error multiple times in a hour. I only changed the nl to be in the url, but I think that will not cause this error?

Logger: homeassistant.components.command_line.sensor Source: components/command_line/sensor.py:120 Integration: command_line

aex351 commented 3 years ago

Changing the extension of the URL should not cause any errors for the custom sensors. However, I have only used and tested these external services with the .nl extension.

The warning/error messages you are experiencing are caused when these external services are not responding or responding fast enough. This causes the command line integration (used by the custom sensors) to throw a warning/error message. The only thing you can do is to increase the timeout value.

So the error/warning messages are not part of the actual Neerslag Card, which is purely a front-end.