Open karlinurswick opened 1 day ago
What version of HA are you running and by what method? HAOS, docker etc?
I am running version 13.2, core 2024.11.3, supervisor 2024.11.4 and believe this is a supervised installation in a Linux virtual (virtualbox) machine. Followed the instructions from here - https://www.home-assistant.io/installation/windows/
OK. If it is not loading the aioWiserHeatAPI library, there will be an error in the logs saying why not. Can we find what that is.
Not sure how much of this is needed so have added all the log from where the wiser issue starts, thanks for taking the time to look at this. 2024-12-03 17:04:05.492 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration wiser: No module named 'aioWiserHeatAPI'
2024-12-03 17:04:05.493 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 3247, in _load_integration
await integration.async_get_platform("config_flow") File "/usr/src/homeassistant/homeassistant/loader.py", line 1104, in async_get_platform
platforms = await self.async_get_platforms((platform_name,))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in async_get_platforms
import_future.result() File "/usr/src/homeassistant/homeassistant/loader.py", line 1151, in async_get_platforms
await self.hass.async_add_import_executor_job( File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1094, in _load_platforms platform_name: self._load_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1268, in _load_platform cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1300, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
from .coordinator import WiserUpdateCoordinator
File "/config/custom_components/wiser/coordinator.py", line 8, in
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/discovery_flow.py", line 137, in _async_start await gather_with_limited_concurrency(FLOW_INIT_LIMIT, *init_coros)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 114, in gather_with_limited_concurrency return await gather(
^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/async_.py", line 112, in sem_task return await task
^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1301, in async_init flow, result = await self._async_init(flow_id, handler, context, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1326, in _async_init
flow = await self.async_create_flow(handler, context=context, data=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1518, in async_create_flow
handler = await _async_get_flow_handler( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/config_entries.py", line 3268, in _async_get_flow_handler await _load_integration(hass, domain, hass_config)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 3254, in _load_integration raise data_entry_flow.UnknownHandler from err homeassistant.data_entry_flow.UnknownHandler
2024-12-03 17:04:50.603 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration wiser: No module named 'aioWiserHeatAPI'
2024-12-03 17:11:58.071 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration wiser: No module named 'aioWiserHeatAPI'
I have had the wiser integration working fine in HomeAssistant working within a VirtualBox machine on my normal use laptop for some time and have now moved to a dedicated machine for home assistant. the new machine is a similar setup, runs windows 10 with HomeAssistant operating in VirtualBox Linux machines as before. I have installed HACS and then subsequently downloaded The Wiser package. When trying t add this via the "Add Integration" Button I get an error - Config flow could not be loaded: {"Invalid handler specified"} and the integration will not load.
When checking the logs, I see this; Logger: homeassistant.config_entries Source: config_entries.py:3249 First occurred: 7:19:29 AM (3 occurrences) Last logged: 7:33:21 AM Error occurred loading flow for integration wiser: No module named 'aioWiserHeatAPI'
I have searched via google for a couple of evenings and cant find any way to resolve this, can anybody offer any advice? Thanks.