Handle exception in ViCare integration (#111128)

This commit is contained in:
Christopher Fenner
2024-03-04 10:10:59 +01:00
committed by GitHub
parent ac416f7e07
commit faef5da1c5

View File

@@ -205,6 +205,7 @@ class ViCareClimate(ViCareEntity, ClimateEntity):
"heating_curve_shift" "heating_curve_shift"
] = self._circuit.getHeatingCurveShift() ] = self._circuit.getHeatingCurveShift()
with suppress(PyViCareNotSupportedFeatureError):
self._attributes["vicare_modes"] = self._circuit.getModes() self._attributes["vicare_modes"] = self._circuit.getModes()
self._current_action = False self._current_action = False