Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Prevent removal of entries if source is corrupt #3703

Open
hillbicks opened this issue Jan 28, 2025 · 0 comments
Open

[Feature]: Prevent removal of entries if source is corrupt #3703

hillbicks opened this issue Jan 28, 2025 · 0 comments
Labels
enhancement New feature or request (excluding source request)

Comments

@hillbicks
Copy link

I propose a feature for:

Sources

Describe your wanted feature

Hi there,

first of all, thanks for this integration another QOL improvement.

Now, i realize this is probably not that straight forward to implement, but let me explain nonetheless.

Apparently the integration loads the ics file upon a home assistant restart. Normally the ics files contains 4 different types of waste for my street, but from time to time the file contains only one entry for the "schadstoffmobil" which is not that interesting. I double checked this one time by downloading the file from the providers website and could confirm, yes, only type in there. So it makes sense that these entries are deleted in the HA calendar as well, although not what I want obviously.

I already wrote the provider of the ics file to please fix this on their end and either make sure the file contains all entries or not upload the incomplete.

this comment confirms the current behavior:

There is currently no way to store events that are no longer provided by the source. The source probably does not get the dates anymore, and all events are erased if new ones are fetched. I can take a look if the is way to get the past dates for your source if you say which one you're using.

Maybe there is a way in the future to prevent this behavior even if the error is at the source, but some way to either get notified or prevent the deletion of entries in the future would be nice.

Thanks again

@hillbicks hillbicks added the enhancement New feature or request (excluding source request) label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request (excluding source request)
Projects
None yet
Development

No branches or pull requests

1 participant