custom-components / grocy

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

Home assistant warns about future failure in component #264

Closed FHeilmann closed 1 year ago

FHeilmann commented 1 year ago

Unless all relevant information is provided, I can't help you

Describe the bug Home-assistant 2023.3 informs about a deprecation of sorts in the grocy integration:

Log Details (WARNING)
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: 12:39:46 PM (1 occurrences)
Last logged: 12:39:46 PM

Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for grocy using this method at custom_components/grocy/__init__.py, line 52: hass.config_entries.async_setup_platforms(config_entry, PLATFORMS)

Expected behavior Grocy integration starts up with no errors in the logs

To Reproduce

cdouet commented 1 year ago

Yes, same on my home assistant yellow with 2023.4.1

cdouet commented 1 year ago

This is fixed by: https://github.com/custom-components/grocy/pull/260