Handle exception in ViCare integration (#111128)
This commit is contained in:
parent
ac416f7e07
commit
faef5da1c5
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue