epoplavskis / homeassistant_salus

Home Assistant integration with Salus devices
MIT License
47 stars 15 forks source link

HA 2024.01 #56

Open slusaro2 opened 6 months ago

slusaro2 commented 6 months ago

I've checked logs after last update and there is something like this:

Entity None (<class 'custom_components.salus.climate.SalusThermostat'>) 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/jvitkauskas/homeassistant_salus/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

So here I am :)

StaticSounds90 commented 2 months ago

From 2024.5.2

2024-05-08 22:05:18.678 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from salus, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please report it to the author of the 'salus' custom integration
2024-05-08 22:05:18.685 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from salus, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please report it to the author of the 'salus' custom integration
2024-05-08 22:05:18.693 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from salus, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please report it to the author of the 'salus' custom integration` just to add some