mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +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:
@@ -380,7 +380,10 @@ class LeafDataStore:
|
|||||||
)
|
)
|
||||||
return server_info
|
return server_info
|
||||||
except CarwingsError:
|
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
|
return None
|
||||||
|
|
||||||
async def async_get_climate(self):
|
async def async_get_climate(self):
|
||||||
|
Reference in New Issue
Block a user