From af7f61fec2a07b1f09e91aae576622466364f2b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=B8yer=20Iversen?= Date: Mon, 8 Jul 2019 23:12:23 +0200 Subject: [PATCH] ambiclimate hvac_modes (#25015) * ambiclimate hvac_modes * style --- homeassistant/components/ambiclimate/climate.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/ambiclimate/climate.py b/homeassistant/components/ambiclimate/climate.py index 8a50cd5d24d..5bd000f6485 100644 --- a/homeassistant/components/ambiclimate/climate.py +++ b/homeassistant/components/ambiclimate/climate.py @@ -188,6 +188,11 @@ class AmbiclimateEntity(ClimateDevice): """Return the list of supported features.""" return SUPPORT_FLAGS + @property + def hvac_modes(self): + """Return the list of available hvac operation modes.""" + return [HVAC_MODE_HEAT, HVAC_MODE_OFF] + @property def hvac_mode(self): """Return current operation."""