home-assistant-bosch-custom-component: CT200 XMPP Configuration Error

XMPP Configuration Error

When attempting to add my thermostat to the integration I receive the error detailed bellow.

Steps :

  1. Open Integrations Menu
  2. Select Bosch Thermostat Integration
  3. Select EasyControl
  4. Enter Controller Details
  5. Error is reported

System Details

  • Core Version : core-2021.11.1
  • Supervisor Version : supervisor-2021.10.8
  • OS : Home Assistant OS 6.6
  • Hardware : Raspberry Pi 4B

Core Log :

2021-11-05 11:19:05 ERROR (MainThread) [custom_components.bosch.config_flow] Error connecting Bosch at <DEVICE_SERIAL_NUMBER> - 
2021-11-05 11:19:05 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
    resp = await self._request_handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 119, 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 98, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 138, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 135, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 157, in post
    return await super().post(request, flow_id)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 246, in async_configure
    result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 333, in _async_handle_step
    if result["type"] not in (
TypeError: 'NoneType' object is not subscriptable

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

My CT200 is also showing problems in HA, although in an different area. I did a scan of my network via the bosch_cli scan from a Linux environment. It confirms a working code on Linux level against CT200 Firmware 03.06.05. Maybe you can check, if a separate Linux can read your CT200. Guide can be found here: https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/wiki/Run-Bosch-Scan-from-Command-Line

My system details are equal to yours. Core Version : core-2021.11.1 Supervisor Version : supervisor-2021.10.8 OS : Home Assistant OS 6.6 Hardware : Raspberry Pi3