custom-components / grocy

Custom Grocy integration for Home Assistant
Apache License 2.0
163 stars 50 forks source link

Failed to set up #274

Open benek984 opened 1 year ago

benek984 commented 1 year ago
image

This error originated from a custom integration.

Logger: homeassistant.config_entries Source: custom_components/grocy/init.py:52 Integration: Grocy (documentation, issues) First occurred: 14:32:15 (3 occurrences) Last logged: 14:33:41

Error setting up entry Grocy for grocy 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/grocy/init.py", line 52, in async_setup_entry hass.config_entries.async_setup_platforms(config_entry, PLATFORMS) AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

karwosts commented 1 year ago

If you update to core 2023.5, you need to update grocy component to v4.8.0. This was fixed in #260