Skip to content

Commit

Permalink
Link to plugwise v0.38.0a9 and adapt,
Browse files Browse the repository at this point in the history
bump to a6
  • Loading branch information
bouwew committed May 26, 2024
1 parent c3a845b commit e15461f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions custom_components/plugwise/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from plugwise import PlugwiseData, Smile
from plugwise.exceptions import (
ConnectionFailedError,
DataIncomplete,
InvalidAuthentication,
InvalidXMLError,
ResponseError,
Expand Down Expand Up @@ -173,5 +174,9 @@ async def _async_update_data(self) -> PlugwiseData:
if not self._unavailable_logged: # pw-beta add to Core
self._unavailable_logged = True
raise UpdateFailed("Failed to connect") from err
except DataIncomplete as err:
if not self._unavailable_logged: # pw-beta add to Core
self._unavailable_logged = True
raise UpdateFailed("Data incomplete or missing") from err

return data
4 changes: 2 additions & 2 deletions custom_components/plugwise/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"integration_type": "hub",
"iot_class": "local_polling",
"loggers": ["plugwise"],
"requirements": ["https://test-files.pythonhosted.org/packages/fd/d1/2363abb02541e284a367e0a848205fb8621942b4d1f2453ae14cc9bb765a/plugwise-0.38.0a8.tar.gz#plugwise==0.38.0a8"],
"version": "0.51.0a5"
"requirements": ["https://test-files.pythonhosted.org/packages/27/62/548c83a7cdef625086aa8ee21fd4becff9e4f47ff3d11fa8e0f8ee8609f9/plugwise-0.38.0a9.tar.gz#plugwise==0.38.0a9"],
"version": "0.51.0a6"
}

0 comments on commit e15461f

Please sign in to comment.