-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add possibility to scan map only when vacuum not in dock #77
Comments
FYI for anyone else that may be interested, as a workaround I added the following automation and script to allow keeping auto-update off in the custom integration configuration, updating automatically the map (every 5 seconds), but only while vacuum is not docked (via automation) and allow manual update if needed (via script).
|
another way is implement turn on/off |
v2.0.2 added possibility to use |
Hello.
First of all, thanks a lot for this great component, it was definitely missing in my setup for a long time.
Still then, having to define a larger scan_interval just for the sake of not consuming too many machine resources is a bit overkill. It is actually too much to do it every 5 seconds (even from the perspective of checking Xiaomi Cloud, I suppose), when most probably no map changes occurred.
I don't see much advantage in having it updating every 5 seconds when most the time the vacuum is docked and there are no changes in the map. Even if you'd like it to update in specific situations, you can always run service home assistant_update_entity, right?
Would it be an option to add a possibility to scan map only when vacuum is not in dock? I think that would be a much more lighter approach in all senses.
Thanks for letting me know if I can somehow help in turning this into a reality.
The text was updated successfully, but these errors were encountered: