Closed ianwestcott closed 2 years ago
The only concern I have is having too many pollings will look abnormal and might lead to accounts flagged for abuse. We haven't seen this so far but it is possible. BTW your automation is basically the same function, poll on the backend is locate.
@ianwestcott I'll try to add an option at some point. I think a 30 minute interval during charging will be fine. When I started writing this integration, I accidentally hammered my car every minute for a day, and I never got blocked (but my 12V battery did get fully depleted).
I'll probably rename things in v0.7.0 to make them more intuitive.
@ianwestcott I've added this feature in v0.6.3rc1. Please give it a try and let me know if it works for you. See updated README
@G-Two I finally had time to update my installation, so I'll be trying this feature out soon. Thank you for implementing it!
Currently the option to poll the vehicle for new information has two settings: Poll every 2 hours, or disabled. Given the caveat about frequent polling potentially draining the 12V battery, it makes sense that this is disabled by default.
When charging a plug-in hybrid vehicle, it's useful to poll more frequently in order to display the charging status in Home Assistant. This can be accomplished with the following automation:
However, I suspect writing such an automation may not be intuitive to many users, since it requires pressing the "Locate" button". It would be nice if this functionality was instead presented to the user as a third polling option—"Poll only while charging"—which will poll at a 30-minute interval any time the battery charging state is on.