Probably a n00b question but I suck at yaml so I have to ask.
I have 3 sensors that get their data from REST APIs.
I want each one to update at a different frequency because I don’t want to hit API limits.
The issue that I saw in my history is that the 2nd sensor was polling at the frequency that I set for my 1st sensor. So is my syntax below correct?
Basically, I want sensor 1 to update every 2 mins (120 secs), sensor 2 to update every 30 mins (1800 secs) and sensor 3 to update every 5 mins (300 secs).
I think you’ll see a warning in your log about the use of scan_interval. I recall it being removed, as the option is being deprecated for many platforms in favour of creating your own automation(s) to update entities. I think what you’re seeing is that your settings are ignored and only the default is used.
EDIT: Actually, I’m not sure what’s going on with the scan interval. I see the setting in both. Just carefully check your logs again for any other hints.