salusfy
salusfy copied to clipboard
Lots of deprecated constants warnings
Hello! I've been using salusfy for a while, without issues. But since the last HA update, I get a ton of warnings/errors regarding this. I will post a screenshot and copy/paste the logs. Please let me know how to fix these issues.
Logger: homeassistant.components.climate
Source: components/climate/__init__.py:354
Integration: Climate ([documentation](https://www.home-assistant.io/integrations/climate), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+climate%22))
First occurred: 1:25:45 AM (1 occurrences)
Last logged: 1:25:45 AM
Entity None (<class 'custom_components.salusfy.climate.SalusThermostat'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/floringhimie/salusfy/issues
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1567
First occurred: 1:25:45 AM (1 occurrences)
Last logged: 1:25:45 AM
Entity None (<class 'custom_components.salusfy.climate.SalusThermostat'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE: 1>, please create a bug report at https://github.com/floringhimie/salusfy/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 1:25:42 AM (1 occurrences)
Last logged: 1:25:42 AM
TEMP_CELSIUS was used from salusfy, 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/floringhimie/salusfy/issues
Logger: homeassistant.components.climate.const
Source: helpers/deprecation.py:205
Integration: Climate ([documentation](https://www.home-assistant.io/integrations/climate), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+climate%22))
First occurred: 1:25:42 AM (5 occurrences)
Last logged: 1:25:42 AM
CURRENT_HVAC_HEAT was used from salusfy, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.HEATING instead, please create a bug report at https://github.com/floringhimie/salusfy/issues
CURRENT_HVAC_IDLE was used from salusfy, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.IDLE instead, please create a bug report at https://github.com/floringhimie/salusfy/issues
HVAC_MODE_HEAT was used from salusfy, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please create a bug report at https://github.com/floringhimie/salusfy/issues
HVAC_MODE_OFF was used from salusfy, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please create a bug report at https://github.com/floringhimie/salusfy/issues
SUPPORT_TARGET_TEMPERATURE was used from salusfy, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/floringhimie/salusfy/issues