elden1337 / hass-peaqhvac

Home Assistant custom component to help hvac-systems stay below peak hourly energy levels and prioritize cheap hours to heat your home.
Other
7 stars 2 forks source link

Update climate enums #111

Closed elden1337 closed 5 months ago

elden1337 commented 5 months ago

Reported in #107

Logger: homeassistant.components.climate.const
Source: helpers/deprecation.py:206
integration: Climate (documentation, issues)
First occurred: 22:42:59 (2 occurrences)
Last logged: 22:42:59

SUPPORT_PRESET_MODE was used from peaqhvac, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please report it to the author of the 'peaqhvac' custom integration
SUPPORT_TARGET_TEMPERATURE was used from peaqhvac, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'peaqhvac' custom integration
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1607
First occurred: 22:42:59 (1 occurrences)
Last logged: 22:42:59

Entity None (<class 'custom_components.peaqhvac.climate.PeaqClimate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|PRESET_MODE: 17>, please create a bug report at https://github.com/elden1337/hass-peaqhvac/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
This error originated from a custom integration.