Skip to content
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

Volvo on Call: Fuel and Fuel_2 seem to mix up every few days #7636

Closed
timh77 opened this issue May 17, 2017 · 6 comments · Fixed by #7946
Closed

Volvo on Call: Fuel and Fuel_2 seem to mix up every few days #7636

timh77 opened this issue May 17, 2017 · 6 comments · Fixed by #7946
Assignees

Comments

@timh77
Copy link

timh77 commented May 17, 2017

Home Assistant release (hass --version): 0..44.2
Python release (python3 --version): 3.4.2
Component/platform: volvooncall
Description of problem: Volvo on Call has two sensors, "sensor.XYZ_fuel" and "sensor.XYZ_fuel_2". Every now and then the values seem to mix up. In Currently "fuel" is the amount of fuel left and "fuel_2" is the per centage left. Yesterday it was the other way around. Could be that it's changing back in a few days again.

pic
Yesterday the amount of fuel left was 56 liters. Then went up (but didn't go to the gas station) to 76 and now it's back to 63. All values are correct but liters and per centages are mixed up.

Expected: Consistent behavior
Problem-relevant configuration.yaml entries and steps to reproduce: Just seems to happen every few days.

@molobrakos
Copy link
Contributor

Ah, ok. Do you restart HA inbetween?

@timh77
Copy link
Author

timh77 commented May 18, 2017

Haven't restarted it since the 44.2 release. By the way, now it's back to liters again ;-)

@molobrakos
Copy link
Contributor

Would you be able to test if this change fixes your problem?
molobrakos@3081853

@timh77
Copy link
Author

timh77 commented May 18, 2017

Sure. Will make the changes later today and report back in a few days. Thanks!

@timh77
Copy link
Author

timh77 commented May 19, 2017

So far the values haven't been mixed up

@molobrakos molobrakos self-assigned this May 30, 2017
@molobrakos
Copy link
Contributor

Unless you haven't noticed any issues, I'll make a PR of this then.

molobrakos added a commit to molobrakos/home-assistant that referenced this issue Jun 15, 2017
balloob pushed a commit that referenced this issue Jun 16, 2017
…atcher. Provide icon. (#7946)

* Avoid sensor mixup. Fixes #7636. Also provide icon. Plus some smaller
fixes.

* fix async p1

* Create volvooncall.py
@balloob balloob mentioned this issue Jun 16, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Oct 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants