Ludy87 / xplora_watch

Xplora® Watch Home Assistant Integration
MIT License
51 stars 6 forks source link

🐛 Integration seems not to Work with HA2022.12.0 #127

Closed bluenazgul closed 1 year ago

bluenazgul commented 1 year ago

System Health details

System Information

version core-2022.12.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.7
os_name Linux
os_version 5.15.74
arch x86_64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.28.4 Stage | running Available Repositories | 1231 Downloaded Repositories | 44
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 9.3 -- | -- update_channel | stable supervisor_version | supervisor-2022.11.2 agent_version | 1.4.1 docker_version | 20.10.18 disk_total | 156.8 GB disk_used | 22.4 GB healthy | true supported | true board | ova supervisor_api | ok version_api | ok installed_addons | Home Assistant Google Drive Backup (0.109.2), ADB - Android Debug Bridge (0.8.0), AirSonos (3.5.0), File editor (5.4.2), Mosquitto broker (6.1.3), Samba share (10.0.0), TasmoAdmin (0.21.0), Zigbee2MQTT (1.28.4-1), ESPHome (2022.11.5), Logitech Media Server (0.0.50), FTP (4.6.1), Studio Code Server (5.4.1), SSH & Web Terminal (12.1.3), Node-RED (13.5.3), EMQX (0.1.3)
Dashboards dashboards | 1 -- | -- resources | 17 views | 22 mode | storage
Recorder oldest_recorder_run | 1. Dezember 2022 um 13:39 -- | -- current_recorder_run | 7. Dezember 2022 um 23:46 estimated_db_size | 2915.95 MiB database_engine | sqlite database_version | 3.38.5
Spotify api_endpoint_reachable | ok -- | --

Checklist

Describe the issue

Integration seems Not to Work with HA 2022.12.0

Reproduction steps

1. 2. 3. ...

Debug logs

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: aiohttp.server
Source: custom_components/xplora_watch/config_flow.py:235
Integration: Xplora® Watch (documentation, issues)
First occurred: 07:15:59 (2 occurrences)
Last logged: 07:16:22

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 222, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 81, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 218, in post
    return await super().post(request)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 73, in wrapper
    result = await method(view, request, data, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 71, in post
    result = await self._flow_mgr.async_init(
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 226, in async_init
    flow, result = await task
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 253, in _async_init
    result = await self._async_handle_step(flow, flow.init_step, data, init_done)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 368, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
  File "/config/custom_components/xplora_watch/config_flow.py", line 235, in async_step_init
    await controller.init()
  File "/usr/local/lib/python3.10/site-packages/pyxplora_api/pyxplora_api_async.py", line 89, in init
    raise LoginError(self.error_message)
pyxplora_api.exception_classes.LoginError: Login to Xplora® API failed. Check your input!
Cannot read property 'msg' of undefined
github-actions[bot] commented 1 year ago

:wave: @bluenazgul, it is checked whether there is a bug. Please have some patience. This action was performed automatically.

github-actions[bot] commented 1 year ago

:wave: @bluenazgul, we found the bug, it will be fixed shortly. This action was performed automatically.