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

MAI: Migrate to new unit of measure constant #90

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

carterbox
Copy link
Contributor

Homeassistant Core has deprecated the TEMP_CELSIUS constant.
The new constant is an ENUM which collects all temp units together.

Closes #66

Homeassistant Core has deprecated the TEMP_CELSIUS constant.
The new constant is an ENUM which collects all temp units together.

Closes bmcclure#66
@carterbox
Copy link
Contributor Author

carterbox commented Jun 27, 2024

These new ENUMS were first introduced in homeassistant 2022.12? And the minimum version for this integration is currently 2023.x, so backward compat should not be a problem.

@bmcclure
Copy link
Owner

bmcclure commented Jul 7, 2024

Thanks so much for the contribution! Running the checks now and will get this merged shortly.

@bmcclure bmcclure merged commit 569f25e into bmcclure:main Jul 7, 2024
1 check passed
@carterbox carterbox deleted the celsius-enum branch December 4, 2024 22:26
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.

HA - Deprecation of TEMP_CELSIUS
2 participants