diff --git a/homeassistant/components/climate/reproduce_state.py b/homeassistant/components/climate/reproduce_state.py index 110a8579ece7af7ce703f3479d21ee7d0ec1ab6a..99357777fba073ea31cf3f39755918ed9c53580e 100644 --- a/homeassistant/components/climate/reproduce_state.py +++ b/homeassistant/components/climate/reproduce_state.py @@ -10,7 +10,6 @@ from homeassistant.const import ATTR_TEMPERATURE from homeassistant.core import Context, HomeAssistant, State from .const import ( - ATTR_AUX_HEAT, ATTR_FAN_MODE, ATTR_HUMIDITY, ATTR_HVAC_MODE, @@ -20,7 +19,6 @@ from .const import ( ATTR_TARGET_TEMP_LOW, DOMAIN, HVAC_MODES, - SERVICE_SET_AUX_HEAT, SERVICE_SET_FAN_MODE, SERVICE_SET_HUMIDITY, SERVICE_SET_HVAC_MODE, @@ -56,9 +54,6 @@ async def _async_reproduce_states( if state.state in HVAC_MODES: await call_service(SERVICE_SET_HVAC_MODE, [], {ATTR_HVAC_MODE: state.state}) - if ATTR_AUX_HEAT in state.attributes: - await call_service(SERVICE_SET_AUX_HEAT, [ATTR_AUX_HEAT]) - if ( (ATTR_TEMPERATURE in state.attributes) or (ATTR_TARGET_TEMP_HIGH in state.attributes) diff --git a/tests/components/climate/test_reproduce_state.py b/tests/components/climate/test_reproduce_state.py index 636ab326a2bb30673db93d4583fe30b09f617c84..0632ebcc9e43bccc8a22d4aeff4d3be08a2aa13f 100644 --- a/tests/components/climate/test_reproduce_state.py +++ b/tests/components/climate/test_reproduce_state.py @@ -3,7 +3,6 @@ import pytest from homeassistant.components.climate import ( - ATTR_AUX_HEAT, ATTR_FAN_MODE, ATTR_HUMIDITY, ATTR_PRESET_MODE, @@ -11,7 +10,6 @@ from homeassistant.components.climate import ( ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW, DOMAIN, - SERVICE_SET_AUX_HEAT, SERVICE_SET_FAN_MODE, SERVICE_SET_HUMIDITY, SERVICE_SET_HVAC_MODE, @@ -96,7 +94,6 @@ async def test_state_with_context(hass: HomeAssistant) -> None: @pytest.mark.parametrize( ("service", "attribute"), [ - (SERVICE_SET_AUX_HEAT, ATTR_AUX_HEAT), (SERVICE_SET_PRESET_MODE, ATTR_PRESET_MODE), (SERVICE_SET_SWING_MODE, ATTR_SWING_MODE), (SERVICE_SET_FAN_MODE, ATTR_FAN_MODE),