Extend deprecation of aux_heat in ClimateEntity (#125360)
This commit is contained in:
parent
9e312f2063
commit
2c0c0b9e21
2 changed files with 3 additions and 3 deletions
|
@ -429,7 +429,7 @@ class ClimateEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|||
(
|
||||
"%s::%s implements the `is_aux_heat` property or uses the auxiliary "
|
||||
"heater methods in a subclass of ClimateEntity which is "
|
||||
"deprecated and will be unsupported from Home Assistant 2024.10."
|
||||
"deprecated and will be unsupported from Home Assistant 2025.4."
|
||||
" Please %s"
|
||||
),
|
||||
self.platform.platform_name,
|
||||
|
@ -451,7 +451,7 @@ class ClimateEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|||
self.hass,
|
||||
DOMAIN,
|
||||
f"deprecated_climate_aux_{self.platform.platform_name}",
|
||||
breaks_in_ha_version="2024.10.0",
|
||||
breaks_in_ha_version="2025.4.0",
|
||||
is_fixable=False,
|
||||
is_persistent=False,
|
||||
issue_domain=self.platform.platform_name,
|
||||
|
|
|
@ -826,7 +826,7 @@ async def test_issue_aux_property_deprecated(
|
|||
assert (
|
||||
"test::MockClimateEntityWithAux implements the `is_aux_heat` property or uses "
|
||||
"the auxiliary heater methods in a subclass of ClimateEntity which is deprecated "
|
||||
f"and will be unsupported from Home Assistant 2024.10. Please {report}"
|
||||
f"and will be unsupported from Home Assistant 2025.4. Please {report}"
|
||||
) in caplog.text
|
||||
|
||||
# Assert we only log warning once
|
||||
|
|
Loading…
Add table
Reference in a new issue