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

Error: pm10 is using 'None' unit of measurement - expected 'µg/m³' #1542

Closed
TheNightmanX opened this issue Feb 24, 2024 · 4 comments
Closed

Comments

@TheNightmanX
Copy link

Got the following error:

Entity sensor.zhimi_vb4_561d_pm10_density (<class 'custom_components.xiaomi_miot.sensor.MiotSensorSubEntity'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('pm10') it is using; expected one of ['µg/m³']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues

@TheNightmanX
Copy link
Author

I get the same error still, even after update to current version 0.7.16

Logger: homeassistant.components.sensor
Quelle: components/sensor/init.py:737
Integration: Sensor (Dokumentation, Probleme)
Erstmals aufgetreten: 09:28:09 (1 Vorkommnisse)
Zuletzt protokolliert: 09:28:09

Entity sensor.zhimi_vb4_561d_pm10_density (<class 'custom_components.xiaomi_miot.sensor.MiotSensorSubEntity'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('pm10') it is using; expected one of ['µg/m³']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues

@al-one al-one reopened this Mar 7, 2024
@TheNightmanX
Copy link
Author

Still getting this error.

@al-one
Copy link
Owner

al-one commented Apr 30, 2024

Try master branch.

@TheNightmanX
Copy link
Author

Fix is working. Thank you for your work.

@al-one al-one closed this as completed Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants