Restful Sensor - limit json queries

Hi,

I’ve implemented airly widget (https://developer.airly.eu/docs) in my HA using Restful Sensor. It worked but now HA is reporting error:
Error parsing value: ‘dict object’ has no attribute ‘currentMeasurements’ (value: {“message”:“API rate limit exceeded”}
, template: {{ value_json.currentMeasurements.airQualityIndex}})

Any sugestion how can I solve this issue? Probably HA sends to many requests to API and API blocks my api key…

See this documentation of scan_interval:

1 Like

It’s working. Thanks!