Remove use of HVAC_MODE_OFF in plugwise climate, it's not implemented (#69094)

This commit is contained in:
Bouwe Westerdijk
2022-04-02 11:39:10 +02:00
committed by Franck Nijhof
parent 7fe6174bd9
commit 5df7882ce4
2 changed files with 2 additions and 7 deletions
@@ -9,7 +9,6 @@ from homeassistant.components.climate.const import (
HVAC_MODE_AUTO,
HVAC_MODE_COOL,
HVAC_MODE_HEAT,
HVAC_MODE_OFF,
)
from homeassistant.core import HomeAssistant
from homeassistant.exceptions import HomeAssistantError
@@ -26,7 +25,6 @@ async def test_adam_climate_entity_attributes(
assert state
assert state.attributes["hvac_modes"] == [
HVAC_MODE_HEAT,
HVAC_MODE_OFF,
HVAC_MODE_AUTO,
]
@@ -47,7 +45,6 @@ async def test_adam_climate_entity_attributes(
assert state.attributes["hvac_modes"] == [
HVAC_MODE_HEAT,
HVAC_MODE_OFF,
HVAC_MODE_AUTO,
]
@@ -161,7 +158,6 @@ async def test_anna_climate_entity_attributes(
assert state.state == HVAC_MODE_HEAT
assert state.attributes["hvac_modes"] == [
HVAC_MODE_HEAT,
HVAC_MODE_OFF,
HVAC_MODE_COOL,
]
assert "no_frost" in state.attributes["preset_modes"]