Closed brettonw closed 5 months ago
I added the "_enable_turn_on_off_backwards_compatibility = False" to the end of the attribute definition of the class to suppress this warning
class InfinitudeClimate(InfinitudeEntity, ClimateEntity):
"""Representation of an Infinitude climate entity."""
_attr_supported_features = (
ClimateEntityFeature.TARGET_TEMPERATURE
| ClimateEntityFeature.TARGET_TEMPERATURE_RANGE
| ClimateEntityFeature.FAN_MODE
| ClimateEntityFeature.PRESET_MODE
)
_attr_precision = PRECISION_TENTHS
_attr_temperature_step = PRECISION_WHOLE
_attr_name = "Thermostat"
_enable_turn_on_off_backwards_compatibility = False
Fixed in 2024.6.0
2024-04-14 11:27:56.387 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.infinitude_beyond.climate.InfinitudeClimate'>) implements HVACMode(s): off, heat, cool, heat_cool, fan_only and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the 'infinitude_beyond' custom integration