Yes, you’ll still get that error because this waze api is pretty shitty to be honest. Sometimes it responds correctly with nothing. I don’t know why. The main issue is that this is an undocumented & unsupported waze api. So we get what we get.
It just updates every 5 minutes. Nothing more, nothing less.
It’s possible it’s updating but you won’t see those updates in the last_updated and last_changed if the state is the same. That’s how home assistant works in general.
that should be valid for every entity. I haven’t tried it and I don’t remember if it’s valid. Worse case is that you have to make it a custom component and adjust it in the python file.
it this the correct syntax? because i dont think it worked, it only updated after 5 minutes
maybe my syntax is wrong, want to know for sure before i load it as a custom
I just verified, It extends the normal sensor configuration so scan_interval will work. I don’t know the proper syntax off the top of my head. Either way, scan_interval should be at the same indentation as origin and destination.
After a HA restart, the first state is always unknown (known behavior)… So normally if scan interval works, it should update after 60 seconds to xx minutes then?
unless someone changed it again… it should have data on first boot up. Then it should update every 60 seconds if you change it to scan every 60 seconds.
I made a PR a while ago (6 months or more) that actually fixed the “Unknown” state on first boot. One version later someone removed those code changes for an unknown reason. I’m listed in the update release notes for HA with the fix, but no idea why it was removed. I’m too busy to track it down again and submit another PR.