From faef5da1c58ed45a1fc249a4c58d2237f13421c6 Mon Sep 17 00:00:00 2001 From: Christopher Fenner <9592452+CFenner@users.noreply.github.com> Date: Mon, 4 Mar 2024 10:10:59 +0100 Subject: [PATCH] Handle exception in ViCare integration (#111128) --- homeassistant/components/vicare/climate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/vicare/climate.py b/homeassistant/components/vicare/climate.py index 1b8c1edcb8c..10cc1a15c9e 100644 --- a/homeassistant/components/vicare/climate.py +++ b/homeassistant/components/vicare/climate.py @@ -205,7 +205,8 @@ class ViCareClimate(ViCareEntity, ClimateEntity): "heating_curve_shift" ] = self._circuit.getHeatingCurveShift() - self._attributes["vicare_modes"] = self._circuit.getModes() + with suppress(PyViCareNotSupportedFeatureError): + self._attributes["vicare_modes"] = self._circuit.getModes() self._current_action = False # Update the specific device attributes