zacs / ha-dualmodegeneric

Generic thermostat capable of heating and cooling
68 stars 26 forks source link

Addon Using Deprecated Features - Alternative Available #63

Closed djripcord closed 4 months ago

djripcord commented 6 months ago

This addon is using features in Home Assistant that will be deprecated by 2025.1. It needs updated to use the alternative keys supplied by the Home Assistant Devs.

Specifically, this addon is creating errors in the logs that read: Entity None (<class 'custom_components.dualmode_generic.climate.DualModeGenericThermostat'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|TARGET_TEMPERATURE_RANGE: 3>,

Please see https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation for more information about the features being deprecated.

david-kalbermatten commented 4 months ago

Fixed with #65