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

Switching to new integration has lost two sensors #176

Closed
snigehere opened this issue Aug 8, 2024 · 3 comments
Closed

Switching to new integration has lost two sensors #176

snigehere opened this issue Aug 8, 2024 · 3 comments

Comments

@snigehere
Copy link

Thanks for taking over this useful integration - I saw errors in my log about the version I had installed and decided to look what was happening.

I followed your clear guidance to remove the cloud and local version and installed the new ha-dyson version and that worked very well .. much easier than deleting the whole integration and starting over.

My device is a VS7 Dyson Purifier Cool Gen1

I notice I have two sensors hare no longer being updated
sensor._volatile_organic_compounds
sensor._nitrogen_dioxide

I see a couple of sensors that have similar names
sensor._volatile_organic_compounds_index
sensor._nitrogen_dioxide_index
but I don't know if these are new (issue with 2024.8 core history data) but they are showing different info compared to the old sensor

image

Any guidance would be appreciated

@dotvezz
Copy link
Member

dotvezz commented Aug 8, 2024

Hi there @snigehere! This is actually expected. There's a LOT of reading in #4 if you want the full context, and some additional summaries in #89 and #127.

The short answer here is: while we're really grateful to Shen and the original set of contributors whose shoulders we're standing on here, the original VOC and NO2 sensors were incorrectly reporting µg/m³, when the sensor data from the device is actually an index. Unfortunately, the fan devices do not give us any raw sensor numbers, and we don't know the proprietary calculations that Dyson uses to turn their raw sensor data into the index value.

As a result, this integration has removed the old sensor.device_volatile_organic_compounds entities. We've implemented new sensor.device_volatile_organic_compounds_index entities that correctly reflect the data.

You can delete the old entities, which should now be unavailable, from your Home Assistant instance. And of course feel free to reply if you have any questions!

@snigehere
Copy link
Author

Hi Ben - Many thanks for the explanation - sorry I didn't spot the conversation - I searched open tickets but failed to search closed ones. I didn't want to delete the sensors without knowing the issue but based on your explanation I have got rid of them.

Thanks again

@dotvezz
Copy link
Member

dotvezz commented Aug 8, 2024

Happy to help! Feel free to ping if you see any more issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants