tpacri / multizone_generic_thermostat

Home Assistant generic thermostat component that supports controlling of multiple zones
MIT License
39 stars 0 forks source link

Deprecated constant which will be removed in HA Core 2025.1 #18

Open fort999 opened 6 months ago

fort999 commented 6 months ago

Hello. Thanks for your work. After a recent update, warnings appeared in the log.

DEVICE_CLASS_OPENING was used from multizone_generic_thermostat, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.OPENING instead,

HVAC_MODE_COOL was used from multizone_generic_thermostat, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead,

HVAC_MODE_HEAT was used from multizone_generic_thermostat, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead,

HVAC_MODE_OFF was used from multizone_generic_thermostat, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead,

SUPPORT_PRESET_MODE was used from multizone_generic_thermostat, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead

SUPPORT_TARGET_TEMPERATURE was used from multizone_generic_thermostat, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead,

Could you fix this? Thanx.