romedtino / simple-wyze-vac

Home Assistant Custom Component for Wyze Vacuum
48 stars 8 forks source link

[BUG] HA 2024.11.0 Breaks the Camera Integration #87

Open iceman73 opened 1 week ago

iceman73 commented 1 week ago

Describe the bug Wyze Camera is not created in the integration upon upgrade to HA Core 2024.11.00

To Reproduce Steps to reproduce the behavior:

  1. Upgrade to HA Coe 2024.11.0
  2. See camera disabled and not provided by integration
  3. See error in the log

Error while setting up simple_wyze_vac platform for camera Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 365, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/simple_wyze_vac/camera.py", line 15, in async_setup_entry cameras.append(SWVCamera(pl,f"www/{DOMAIN}/{pl['name']}_last_map.jpg")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/simple_wyze_vac/camera.py", line 21, in init super().init(pl["name"], file_path) TypeError: LocalFile.init() missing 1 required positional argument: 'unique_id'

Expected behavior To Work like Ayze worked in 2024.10.4.

Simple Wyze Vac Version

Home Assistant Version

Additional context Downgrade to 2024.10.4 Fixes issue

romedtino commented 11 hours ago

Fixed in upcoming release. Pre-release https://github.com/romedtino/simple-wyze-vac/releases/tag/1.9.2 available too if you are interested