pyvesync icon indicating copy to clipboard operation
pyvesync copied to clipboard

Air quality doesn't return in percentage in Home Assistant

Open haroutig opened this issue 5 years ago • 4 comments

The air quality value for the air purifier returns as a string (eg "excellent") instead of a percentage in home assistant. A percentage would be much better here as the air quality can be integrated properly into the home app on ios.

haroutig avatar Dec 07 '19 21:12 haroutig

What are the different air quality properties?

webdjoe avatar Oct 04 '20 00:10 webdjoe

Wouldn't the conversion be the responsibility of the Home Assistant so that different "definitions" could be country or region aware?

ronytomen avatar Oct 27 '21 12:10 ronytomen

@haroutig - can you use the library directly and see what value is actually returned by the API? Is it definitely a number that is returned?

borpin avatar Mar 30 '22 15:03 borpin

I think this is actually fixed as of 2.X, and there is a fix merged on the homeassistant side that should release in the 2022.7 release.

jetpacktuxedo avatar Jun 23 '22 22:06 jetpacktuxedo

This should be fixed, closing issue

webdjoe avatar Sep 04 '23 01:09 webdjoe