home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.72k stars 30.84k forks source link

ezviz integration #130317

Open matteos1 opened 6 days ago

matteos1 commented 6 days ago

The problem

when i try to autenticate in ezviz account error appears

What version of Home Assistant Core has the issue?

core-2024.11.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

ezviz

Link to integration documentation on our website

No response

Diagnostics information

File "/usr/src/homeassistant/homeassistant/components/ezviz/init.py", line 112, in async_setup_entry await hass.config_entries.async_forward_entry_setups( File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2242, in async_forward_entry_setups await integration.async_get_platforms(platforms) File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in async_get_platforms import_future.result() File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in async_get_platforms import_future.result() File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in async_get_platforms import_future.result() [Previous line repeated 7 more times] File "/usr/src/homeassistant/homeassistant/loader.py", line 1169, in async_get_platforms platforms.update(self._load_platforms(platform_names))

Example YAML snippet

No response

Anything in the logs that might be useful for us?

File "/usr/src/homeassistant/homeassistant/components/ezviz/__init__.py", line 112, in async_setup_entry
    await hass.config_entries.async_forward_entry_setups(
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2242, in async_forward_entry_setups
    await integration.async_get_platforms(platforms)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in async_get_platforms
    import_future.result()
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in async_get_platforms
    import_future.result()
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in async_get_platforms
    import_future.result()
  [Previous line repeated 7 more times]
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1169, in async_get_platforms
    platforms.update(self._load_platforms(platform_names))

Additional information

No response

matteos1 commented 6 days ago

File "/usr/src/homeassistant/homeassistant/components/ezviz/init.py", line 112, in async_setup_entry await hass.config_entries.async_forward_entry_setups( File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2242, in async_forward_entry_setups await integration.async_get_platforms(platforms) File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in async_get_platforms import_future.result() File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in async_get_platforms import_future.result() File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in async_get_platforms import_future.result() [Previous line repeated 7 more times] File "/usr/src/homeassistant/homeassistant/loader.py", line 1169, in async_get_platforms platforms.update(self._load_platforms(platform_names)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 "", 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/ezviz/button.py", line 10, in from pyezviz.constants import SupportExt ImportError: cannot import name 'SupportExt' from 'pyezviz.constants' (/usr/local/lib/python3.12/site-packages/pyezviz/constants.py)

Doltilion commented 2 hours ago

As a work around, i did a rollback to Home Assistant core_2024.11.0. After the rollback completed, evziz integration works fine