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

Use native unit of measurement for Dyson temp sensor #113

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

jasperslits
Copy link
Contributor

This fixes #112 by switching from removed _attr_unit_of_measurement to native_unit_of_measurement for the temperature sensor.

@MJHeijster
Copy link

MJHeijster commented Apr 6, 2022

Implemented this manually through VS Code and I can confirm this fix works for my temperature sensor.

@Kakise Kakise merged commit 0852af0 into shenxn:main Apr 6, 2022
@Flameeyes
Copy link
Contributor

Note that this was incomplete/incorrect.

#117 fixes this for all sensors instead.

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

Successfully merging this pull request may close these issues.

sensor AssertionError with 2022.4
4 participants