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

fix: startup warning about deprecated TEMP_FAHRENHEIT and TEMP_CELSIUS in 2024.1.6 #85

Merged
merged 2 commits into from
Feb 3, 2024

Conversation

matthewbogner
Copy link
Contributor

I am running HA Core 2024.1.6

Upon startup, I am seeing the following warnings. Seemed simple enough to just fix instead of opening an issue. This change (home-assistant/core#81006) was made in HA core in 2022.11, so this shouldn't reasonably be introducing any backward compatibility issues.

2024-02-02 16:30:49.771 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from ha_carrier, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/dahlb/ha_carrier/issues
2024-02-02 16:30:49.782 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from ha_carrier, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please create a bug report at https://github.com/dahlb/ha_carrier/issues
2024-02-02 16:30:49.805 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from ha_carrier, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/dahlb/ha_carrier/issues
2024-02-02 16:30:49.815 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from ha_carrier, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please create a bug report at https://github.com/dahlb/ha_carrier/issues

… in 2024.1.6

Signed-off-by: Matthew Bogner <matt@ibogner.net>
…able since 2022.11

Signed-off-by: Matthew Bogner <matt@ibogner.net>
@dahlb
Copy link
Owner

dahlb commented Feb 3, 2024

Thanks for fixing this 😃

@dahlb dahlb merged commit d5780a8 into dahlb:main Feb 3, 2024
3 checks passed
@dahlb dahlb mentioned this pull request Feb 8, 2024
4 tasks
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.

2 participants