1
mirror of https://github.com/home-assistant/core synced 2024-09-06 10:29:55 +02:00

Fix for nissan_leaf component getting stuck (#33425)

* Fix for nissan_leaf component getting stuck

* Remove dots from error messages in nissan_leaf component
This commit is contained in:
vwir 2020-03-30 09:35:50 +02:00 committed by GitHub
parent 0e6b905cdf
commit eee0a6e9f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -380,7 +380,10 @@ class LeafDataStore:
)
return server_info
except CarwingsError:
_LOGGER.error("An error occurred getting battery status.")
_LOGGER.error("An error occurred getting battery status")
return None
except KeyError:
_LOGGER.error("An error occurred parsing response from server")
return None
async def async_get_climate(self):