Closed marcioibm closed 3 years ago
Hmm, I have not seen that one and I don't really understand what is happening there.
Could you check which version of aiohuesyncbox
is installed in the HA environment?
Also what is your Python version?
Your comment and the last update made it work! thanks for the support and for this amazing integration!
Hmm, not sure why that update helped for this specific issue, but glad it fixed your issue :)
Describe the bug Even though the installation goes fine, it never starts due to an error
To Reproduce Steps to reproduce the behavior:
Environment
Additional info
Logger: homeassistant Source: custom_components/huesyncbox/huesyncbox.py:125 Integration: Philips Hue Play HDMI Sync Box (documentation, issues) First occurred: 3:04:18 AM (1 occurrences) Last logged: 3:04:18 AM
Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 153, in async_init flow, result = await task File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 171, in _async_init flow = await self.async_create_flow(handler, context=context, data=data) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 710, in async_create_flow integration.get_platform("config_flow") File "/usr/src/homeassistant/homeassistant/loader.py", line 524, in get_platform cache[full_name] = self._import_platform(platform_name) File "/usr/src/homeassistant/homeassistant/loader.py", line 529, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 972, in _find_and_load_unlocked
File "", line 228, in _call_with_frames_removed
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/config/custom_components/huesyncbox/init.py", line 37, in
from .huesyncbox import PhilipsHuePlayHdmiSyncBox, async_remove_entry_from_huesyncbox
File "/config/custom_components/huesyncbox/huesyncbox.py", line 125, in
async def async_register_aiohuesyncbox(hass, api: aiohuesyncbox.HueSyncBox):
AttributeError: module 'aiohuesyncbox' has no attribute 'HueSyncBox'
Does any see this behavior?