SecKatie / ha-wyzeapi

Home Assistant Integration for Wyze devices.
733 stars 112 forks source link

[Bug] "Unable to install package wyzeapy==0.5.20" after HA OS/Core update #551

Closed bkuri closed 5 months ago

bkuri commented 5 months ago

Describe the bug Cannot load my wyze integrations after updating Home Assistant OS and/or possibly HA Core (I made both updates at the same time).

I tried reinstalling as discussed in #463 and #549 but it didn't work.

To Reproduce Steps to reproduce the behavior:

  1. Update Home Assistant to v12
  2. Update HA Core to v2024.2.3
  3. Restart

System configuration System: Home Assistant Green HA Version: v12 WyzeApi Version: v0.1.23

home-assistant.log

2024-02-28 13:08:28.842 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration wyzeapi which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-28 13:09:02.335 ERROR (MainThread) [homeassistant.components.automation] Automation with alias 'Turn off closet lights' failed to setup triggers and has been disabled: Unknown device '9c11f5c4bb47aa9a3aedda73f27354d3'
2024-02-28 13:09:03.680 ERROR (MainThread) [homeassistant.components.automation] Automation with alias 'Turn off bedroom lights' failed to setup actions and has been disabled: Unknown device '9c11f5c4bb47aa9a3aedda73f27354d3'
2024-02-28 13:10:21.777 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package wyzeapy==0.5.20: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9e43acc0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9d1e2900>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9d1e3050>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9d1e3230>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9d1e3410>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9d1e3560>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9d1e3b00>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9d1e3ce0>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffffa135af30>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9d1e2c30>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
ERROR: Could not find a version that satisfies the requirement wyzeapy==0.5.20 (from versions: none)
ERROR: No matching distribution found for wyzeapy==0.5.20
2024-02-28 13:11:49.636 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package wyzeapy==0.5.20: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffffb35ab320>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffffb60007d0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffffb3473110>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffffb3473320>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffffb3473500>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffffb3473650>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffffb3473c20>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffffb3473e30>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffffb5a991f0>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffffb3473260>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
ERROR: Could not find a version that satisfies the requirement wyzeapy==0.5.20 (from versions: none)
ERROR: No matching distribution found for wyzeapy==0.5.20
2024-02-28 13:13:17.841 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package wyzeapy==0.5.20: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9dd84b30>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9c8e0c20>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9c8e2f00>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9c8e3500>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9c8e3530>: Failed to establish a new connection: [Errno -3] Try again')': /simple/wyzeapy/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9c8e3800>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9c8e3d70>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9c8e3dd0>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9c9c5d90>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff9c8e2f60>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/wyzeapy/
ERROR: Could not find a version that satisfies the requirement wyzeapy==0.5.20 (from versions: none)
ERROR: No matching distribution found for wyzeapy==0.5.20
2024-02-28 13:13:17.843 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration 'wyzeapi': Requirements for wyzeapi not found: ['wyzeapy==0.5.20'].
bkuri commented 5 months ago

Finally works again after updating to the following versions and reinstalling from scratch:

Core 2024.3.1
Supervisor 2024.03.0
Operating System 12.1
Frontend 20240307.0