Closed byronward85 closed 1 month ago
Same problem here
same here. i had a few rooms setup and i wanted to finish my setup but got the same error
Same error.
here is error log:
Logger: aiohttp.server
Zdroj: /usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py:433
První výskyt: 02:11:21 (5 výskyty)
Naposledy logováno: 02:22:28
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 462, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 537, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 210, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin
return await func(self, request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
return await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 172, in post
return await self._post_impl(request, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 179, in _post_impl
return await super()._post_impl(request, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 84, in _post_impl
result = await self._flow_mgr.async_init(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1296, in async_init
flow, result = await self._async_init(flow_id, handler, context, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1331, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 516, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/thermal_comfort/config_flow.py", line 500, in async_step_user
schema = build_schema(
^^^^^^^^^^^^^
File "/config/custom_components/thermal_comfort/config_flow.py", line 360, in build_schema
humidity_sensors = get_sensors_by_device_class(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/thermal_comfort/config_flow.py", line 309, in get_sensors_by_device_class
additional_sensors = list(filter(f, additional_sensors))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/thermal_comfort/config_flow.py", line 114, in filter_useless_domain
Platform.MAILBOX,
^^^^^^^^^^^^^^^^
AttributeError: type object 'Platform' has no attribute 'MAILBOX'
Jep, I got the same message.
Getting the same error with an already installed integration. Thermal Comfort version 2.2.2. When now trying to add a new sensor to the integration i get the same error message.
On Home-Assistant odroid N2: Core: 2024.9.1 Supervisor: 2024.09.1 Operating System: 13.1 Frontend: 20240906.0
Edit: Have seen that to late, here https://github.com/dolezsa/thermal_comfort/issues/393 a interim solution was posted and a pull request waiting here https://github.com/dolezsa/thermal_comfort/pull/392
Also get the same issue.
Thermal Comfort version 2.2.2.
Core 2024.9.1 Supervisor 2024.09.1 Operating System 13.1 Frontend 20240906.0
Me too:
Thermal Comfort version 2.2.2.
Core 2024.9.2 Supervisor 2024.09.1 Operating System 13.1 Frontend 20240909.1
Might be caused by the deprecation of the Mailbox platform: https://github.com/home-assistant/core/commit/dd52f4c84a914c1326003d09cd2f7cf1a937aad6
As hot fix you can manually fix the file using the file editor plugin:
Just add a #
to the line Platform.MAILBOX
to comment it out.
You need to restart Homeassistant to apply the change.
There exists already an pull request for the change: https://github.com/dolezsa/thermal_comfort/pull/392
Might be caused by the deprecation of the Mailbox platform: home-assistant/core@dd52f4c
As hot fix you can manually fix the file using the file editor plugin:
Just add a
#
to the linePlatform.MAILBOX
to comment it out. You need to restart Homeassistant to apply the change.There exists already an pull request for the change: #392
Thank You for your hint - that worked for me
Thank you that worked
Thank you so much!
@dolezsa I see you have already merged the pull request that fixes this issue. Can you please push a new release with this fix? 🙏
Edit: Thank you!
Cannot add the integration. Downloaded to HACS and get the following message when I try install the integration?
Error Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble