jdejaegh / irm-kmi-ha

Home Assistant weather provider using data from Belgian IRM KMI 🇧🇪 🇱🇺 🇳🇱
MIT License
40 stars 0 forks source link

service return formatting #53

Closed JanDetrez closed 2 months ago

JanDetrez commented 2 months ago

Hi again

I use these templates to get hourly and daily data image

It seems the hourly one nicely comes as a subsettable list, but the daily one is just a long string. Any idea why this is? image

When I do request the service manually, both come out fine image image

I'm asking because I would like to do the below, the top line gives correctly 15, the bottom row returns the error "'str object' has no attribute 'temperature'" image

JanDetrez commented 2 months ago

Ah I see this was adressed here already https://github.com/jdejaegh/irm-kmi-ha/issues/49