bruxy70 / Garbage-Collection

🗑 Custom Home Assistant sensor for scheduling garbage collection (or other regularly re-occurring events - weekly on given days, semi-weekly or monthly)
MIT License
383 stars 90 forks source link

Setup failed for custom integration garbage_collection #452

Closed slack1987 closed 1 year ago

slack1987 commented 1 year ago

Before you submit a new bug report, please check that

Describe the bug

Hi,

Sometimes when I restart my Home Assistant, this error appears and the garbage collection integration doesn't start:

Logger: homeassistant.setup Source: setup.py:213 First occurred: 10:34:12 (1 occurrences) Last logged: 10:34:12

Setup failed for custom integration garbage_collection: Unable to import component: cannot import name 'ParserError' from 'dateutil.parser' (/usr/local/lib/python3.10/site-packages/dateutil/parser/init.py)

I need to restart HA to get the integration working again.

Configuration

I can't find the integration in the integration page

Debug logs

Logger: homeassistant.setup
Source: setup.py:213
First occurred: 10:34:12 (1 occurrences)
Last logged: 10:34:12

Setup failed for custom integration garbage_collection: Unable to import component: cannot import name 'ParserError' from 'dateutil.parser' (/usr/local/lib/python3.10/site-packages/dateutil/parser/__init__.py)
github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity in last 30 days. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.