Hi, since one of the last updates of HA (2024.x) I get this integration error :
'Logger: homeassistant.setup
Source: setup.py:334
First occurred: 4 November 2024 at 17:37:29 (1 occurrences)
Last logged: 4 November 2024 at 17:37:29
Setup failed for 'cast': Unable to import component: No module named 'pychromecast'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 334, in _async_setup_component
component = await integration.async_get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1027, in async_get_component
self._component_future.result()
File "/usr/src/homeassistant/homeassistant/loader.py", line 1007, in async_get_component
comp = 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 1067, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/usr/src/homeassistant/homeassistant/components/cast/init.py", line 7, in
from pychromecast import Chromecast
ModuleNotFoundError: No module named 'pychromecast'
My config :
'#-----------------------------------------------------------------------------------------------------
continuously_casting_dashboards:
logging_level: debug #Required: Set the logging level - debug/info/warning (default is 'warning' - try 'debug' for debugging)
cast_delay: 15
start_time: "00:01" #Required: Start time of the casting window (format: "HH:MM")
end_time: "23:59" #Required: End time of the casting window (format: "HH:MM") and must be after "00:00"
Hi, since one of the last updates of HA (2024.x) I get this integration error :
'Logger: homeassistant.setup Source: setup.py:334 First occurred: 4 November 2024 at 17:37:29 (1 occurrences) Last logged: 4 November 2024 at 17:37:29
Setup failed for 'cast': Unable to import component: No module named 'pychromecast' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 334, in _async_setup_component component = await integration.async_get_component() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1027, in async_get_component self._component_future.result() File "/usr/src/homeassistant/homeassistant/loader.py", line 1007, in async_get_component comp = 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 1067, in _get_component ComponentProtocol, importlib.import_module(self.pkg_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/usr/src/homeassistant/homeassistant/components/cast/init.py", line 7, in
from pychromecast import Chromecast
ModuleNotFoundError: No module named 'pychromecast'
My config :
'#----------------------------------------------------------------------------------------------------- continuously_casting_dashboards: logging_level: debug #Required: Set the logging level - debug/info/warning (default is 'warning' - try 'debug' for debugging) cast_delay: 15 start_time: "00:01" #Required: Start time of the casting window (format: "HH:MM") end_time: "23:59" #Required: End time of the casting window (format: "HH:MM") and must be after "00:00"
volume: 5
devices:
"Nesthub Kitchen":
dashboard_url: "http://192.168.1.15:8443/tablet-2/default_view?kiosk"
volume:
start_time: "07:01" #Required: Start time of the casting window (format: "HH:MM")
end_time: "22:30" #Required: End time of the casting window (format: "HH:MM") and must be after "00:00"
devices: "Kitchen Display":
- entity_id: input_boolean.nesthub_alarm
-----------------------------------------------------------------------------------------------------
Any idea what is wrong here and how to solve it ?
THANKS !!!!