Skip to content

Commit ff6b86e

Browse files
committed
No need for try-except, handled in request()
1 parent a776b7d commit ff6b86e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

plugwise/smile.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,7 @@ async def connect(self):
169169
self._smile_legacy = SMILES[target_smile]["legacy"]
170170

171171
# Update all endpoints on first connect
172-
try:
173-
await self.full_update_device()
174-
except XMLDataMissingError:
175-
_LOGGER.error("Critical information not returned from device")
176-
raise DeviceSetupError
172+
await self.full_update_device()
177173

178174
return True
179175

0 commit comments

Comments
 (0)