switch evohome to use a whitelist for valid zonetype (#31047)

This commit is contained in:
David Bonnes authored and GitHub committed 2020-01-21 18:49:15 +00:00
1 parent 19d30f0a1b
commit e00388eea0
2 files changed
+13 -10

No files matched your search

+2 -1
View File
@@ -663,7 +663,8 @@ class EvoChild(EvoDevice):
except IndexError:
self._setpoints = {}
_LOGGER.warning(
"Failed to get setpoints - please report as an issue", exc_info=True
"Failed to get setpoints, report as an issue if this error persists",
exc_info=True,
)
return self._setpoints