Description
Hi !
After an issue last month with over-exceeding requests, I'm finally able to retrieve traffic data through HASL.
From sensors' perspective, everything looks good and I'm getting correct data for all traffic types.
However when using the Lovelace card, I'm not getting anything.
Here is a screenshot of the Lovelace configuration tool and what I'm getting:
By looking at the JS code, I think that the issue with multiple headers is simply located in lines 188-190 and those 3 lines should be placed just before the loop starting in line 175.
About the empty traffic type statuses, I'm thinking also that's because of the sensor's data. I cannot see a "bus_status" (or similar) field on the root of each sensor but only per event. So status is undefined and therefore no HTML table row is rendered.
There is though the sensor's state but it's not passed in the function rendering the HTML table.
-> Could it the reason ? Do you see also the same issue on your side ?