diff --git a/.gitignore b/.gitignore index d2932bda..4b2403a1 100644 --- a/.gitignore +++ b/.gitignore @@ -129,6 +129,7 @@ dmypy.json # Pyre type checker .pyre/ *.txt +codiga.* # Home Assistant Core /homeassistant \ No newline at end of file diff --git a/custom_components/xplora_watch/config_flow.py b/custom_components/xplora_watch/config_flow.py index 9ea2a3da..e92f9296 100644 --- a/custom_components/xplora_watch/config_flow.py +++ b/custom_components/xplora_watch/config_flow.py @@ -100,7 +100,7 @@ async def validate_input(hass: core.HomeAssistant, data: dict[str, Any]) -> dict try: await account.init() except LoginError as err: - raise LoginError(err.message) + raise LoginError(err.error_message) # Return info that you want to store in the config entry. return {"title": f"{MANUFACTURER}"} diff --git a/custom_components/xplora_watch/manifest.json b/custom_components/xplora_watch/manifest.json index 6b4e8ca8..3972967a 100644 --- a/custom_components/xplora_watch/manifest.json +++ b/custom_components/xplora_watch/manifest.json @@ -1,13 +1,13 @@ { "domain": "xplora_watch", "name": "Xplora® Watch", - "version": "v2.5.6", + "version": "v2.5.7", "config_flow": true, "documentation": "https://github.com/Ludy87/xplora_watch/tree/main", "issue_tracker": "https://github.com/Ludy87/xplora_watch/issues", "dependencies": [], "requirements": [ - "pyxplora_api==2.3.6", + "pyxplora_api==2.4.0", "geopy==2.2.0", "dataclasses-json" ], diff --git a/custom_components/xplora_watch/services.py b/custom_components/xplora_watch/services.py index 0d300d8d..31afa32a 100644 --- a/custom_components/xplora_watch/services.py +++ b/custom_components/xplora_watch/services.py @@ -1,4 +1,4 @@ -"""Support for Xplora® Watch Version 2 send message and manually refresh.""" +"""Support for Xplora® Watch Version 2 send/read message, manually refresh and shutdown.""" from __future__ import annotations import logging