mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 06:47:09 +00:00
parent
7e862e4d92
commit
a9db2ead33
@ -120,6 +120,6 @@ class IssData:
|
|||||||
self.next_rise = iss.next_rise(self.latitude, self.longitude)
|
self.next_rise = iss.next_rise(self.latitude, self.longitude)
|
||||||
self.number_of_people_in_space = iss.number_of_people_in_space()
|
self.number_of_people_in_space = iss.number_of_people_in_space()
|
||||||
self.position = iss.current_location()
|
self.position = iss.current_location()
|
||||||
except requests.exceptions.HTTPError as error:
|
except (requests.exceptions.HTTPError, requests.exceptions.ConnectionError):
|
||||||
_LOGGER.error(error)
|
_LOGGER.error("Unable to retrieve data")
|
||||||
return False
|
return False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user