mathieu-mp / homeassistant-intex-spa

Home Assistant integration for Intex Spa
https://github.com/mathieu-mp/homeassistant-intex-spa
MIT License
37 stars 6 forks source link

TEMP_CELSIUS was used from intex_spa, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead #74

Closed gevda closed 6 months ago

gevda commented 7 months ago

I found this in my home assistant log


```text

2024-02-20 13:32:52.430 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from intex_spa, 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/mathieu-mp/homeassistant-intex-spa/issues
2024-02-20 13:32:52.441 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from intex_spa, 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/mathieu-mp/homeassistant-intex-spa/issues
2024-02-20 13:32:52.449 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from intex_spa, 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/mathieu-mp/homeassistant-intex-spa/issues
2024-02-20 13:32:52.458 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from intex_spa, 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/mathieu-mp/homeassistant-intex-spa/issues
2024-02-20 13:32:52.485 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_TEMPERATURE was used from intex_spa, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.TEMPERATURE instead, please create a bug report at https://github.com/mathieu-mp/homeassistant-intex-spa/issues
2024-02-20 13:32:56.693 WARNING (MainThread) [homeassistant.helpers.entity] Entity media_player.solo4k (<class 'custom_components.enigma.media_player.EnigmaMediaPlayer'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use