evilmarty / mjpeg-timelapse

Mjpeg Timelapse integration for Home Assistant
MIT License
24 stars 4 forks source link

Seems to stop working in 2023.5 #20

Closed robertboccia closed 1 year ago

robertboccia commented 1 year ago

This error originated from a custom integration.

Logger: homeassistant.config_entries Source: custom_components/mjpeg_timelapse/init.py:16 Integration: Mjpeg Timelapse (documentation, issues) First occurred: 3:23:10 AM (1 occurrences) Last logged: 3:23:10 AM

Error setting up entry TL S21 for mjpeg_timelapse Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/mjpeg_timelapse/init.py", line 16, in async_setup_entry hass.config_entries.async_setup_platforms(entry, PLATFORMS) AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

ardyp87 commented 1 year ago

Same issue after HA last release.

markaggar commented 1 year ago

Yep, same here, same error on 2023.5.2

blinderix commented 1 year ago

Same here, 2023.5.2

robertboccia commented 1 year ago

@evilmarty any ideas when a fix is coming?

cibernox commented 1 year ago

FWIW, I know what's causing this issue and the fix is very easy. Just apply the same changes I applied on this other integration of mine: https://github.com/cibernox/homeassistant-poolstation/commit/9990a331145a73c98a92b1133dd9066c850be0a4

cibernox commented 1 year ago

Ready to be merged

evilmarty commented 1 year ago

Thank you @cibernox for your help. I've been too busy to look into this issue. Much appreciated.