mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 21:10:25 +00:00
Replaces IOError by OSError (#26428)
This commit is contained in:
committed by
Pascal Vizeli
parent
4004879ae0
commit
0df1b4c7a1
@@ -157,7 +157,7 @@ class MiFloraSensor(Entity):
|
||||
try:
|
||||
_LOGGER.debug("Polling data for %s", self.name)
|
||||
data = self.poller.parameter_value(self.parameter)
|
||||
except IOError as ioerr:
|
||||
except OSError as ioerr:
|
||||
_LOGGER.info("Polling error %s", ioerr)
|
||||
return
|
||||
except BluetoothBackendException as bterror:
|
||||
|
||||
Reference in New Issue
Block a user