Skip to content
This repository was archived by the owner on Oct 5, 2025. It is now read-only.

Update deprecated temperature units#15

Open
lucab-91 wants to merge 5 commits into
miguelangel-nubla:masterfrom
lucab-91:update-temperature-units
Open

Update deprecated temperature units#15
lucab-91 wants to merge 5 commits into
miguelangel-nubla:masterfrom
lucab-91:update-temperature-units

Conversation

@lucab-91
Copy link
Copy Markdown

@lucab-91 lucab-91 commented Jan 4, 2025

Changed from TEMP_CELSIUS and TEMP_FAHRENHEIT constants (removed in HA 2025.1) to UnitOfTemperature enumerator.
See https://developers.home-assistant.io/blog/2022/10/26/new-unit-enumerators/
Closes [#14 ]

@lucab-91 lucab-91 changed the title Update temperature units Update deprecated temperature units Jan 5, 2025
@3dhype
Copy link
Copy Markdown

3dhype commented Jan 5, 2025

Saw this commit too late. Changed it myself... Did exactly the same.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants