mealie-recipes / mealie-hacs

Home Assistant Integration for Mealie
MIT License
11 stars 4 forks source link

"Retrying setup: None" error no matter what is done #198

Open JesperDonnis opened 2 years ago

JesperDonnis commented 2 years ago

Version of the custom_component

Version is 0.1.2

Configuration

Done through graphic interface, deleted and readded everytime I retried due to lack of user/pass/ip:port settings in config

Describe the bug

I add the integration through HACS, Mealie is running as an add-on to HA (on a rpi4) Mealie is accessible through internal ip like this: http://192.168.0.183:9925 username and password works as expected.

When I add the integration I enter a username/pass (verified that these work) and the integration confirms config is saved successfully.

Then it immediately tells me "Retrying setup: None"

And nothing happens. Based on the info in the log I have ensured that a valid mealplan exists for today.

Debug log

Logs

This error originated from a custom integration.

Logger: custom_components.mealie
Source: helpers/update_coordinator.py:182
Integration: Mealie (documentation, issues)
First occurred: August 9, 2022 at 10:26:55 PM (611 occurrences)
Last logged: 12:18:03 PM

Error fetching mealie data:

followed by

This error originated from a custom integration.

Logger: custom_components.mealie
Source: custom_components/mealie/__init__.py:111
Integration: Mealie (documentation, issues)
First occurred: 12:06:38 PM (20 occurrences)
Last logged: 12:18:03 PM

0
Traceback (most recent call last):
  File "/config/custom_components/mealie/__init__.py", line 111, in _async_update_data
    data['groups/mealplans/today'][idx]['recipe'].update(
KeyError: 0
hmdrmch commented 2 years ago

I’m getting the exact same error with the same output from the logs. Hope a fix is on the way

joggesan commented 2 years ago

Exactly the same here.

JesperDonnis commented 2 years ago

I fear this project is abandoned?