iMicknl / ha-nest-protect

Nest Protect integration for Home Assistant. This will allow you to integrate your smoke, heat, co and occupancy status real-time in HA.
MIT License
327 stars 57 forks source link

Deprecated constant noted in logs #339

Closed arrikhan closed 2 months ago

arrikhan commented 2 months ago

The problem

As per logs ..

Logger: homeassistant.const Source: helpers/deprecation.py:197 First occurred: 9:50:43 AM (1 occurrences) Last logged: 9:50:43 AM

TEMP_CELSIUS was used from nest_protect, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'nest_protect' custom integration

What version of this integration (ha-nest-protect) has the issue?

0.3.12

What version of Home Assistant Core has the issue?

Core-2024.6.3

Device / Model

Nest Detect Battery (2) Topaz-2.7

Diagnostics information

No response

Home Assistant log

Logs ``` Logger: homeassistant.const Source: helpers/deprecation.py:197 First occurred: 9:50:43 AM (1 occurrences) Last logged: 9:50:43 AM TEMP_CELSIUS was used from nest_protect, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'nest_protect' custom integration ```

Additional information

No response

bmos commented 2 months ago

Fixed in v0.4.0b5