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

Unable to change includes done on previous versions #435

Closed przemoc86 closed 1 year ago

przemoc86 commented 1 year ago

Before you submit a new bug report, please check that

Write your question here

Hi,

I was looking for this option few hours and I cannot find. I've put dates for whole 2022 with old version via Integration board. Now, I'm adding through blueprints. But I still have those old includes which are wrong (schedule for second part of the year has been changed). Is there any options to remove those old includes done with previous integration version? Thanks in advance

bruxy70 commented 1 year ago

The legacy deprecated configuration is removed automatically by the integration. And the setting does not even exist in the configuration dialogue. So I am not sure where you might have them.

przemoc86 commented 1 year ago

There are still visible in calendar.garbage_collection 2022-11-04 08_45_31-Calendar – Home Assistant – Opera

For example on a screen "Selektywne" on 11 and 12 of November, when in Blueprint I'm adding only 12. 2022-11-04 08_47_40-Settings – Home Assistant – Opera

But I solved how to do it ;) Sometimes it's really good to leave something and go to sleep :D I've used Your exclude blueprint and I'm just adding those old bad dates to remove them. And from 2023 it won't be needed. But for now workaround is working 2022-11-04 08_53_53-Calendar – Home Assistant – Opera

bruxy70 commented 1 year ago

Right. I have no idea how it got in. Even if the configuration was not removed, the integration does not have the logic to process that. So the configuration would be ignored. Isn't it possibly coming from the standard helper configuration (e.g. annual/monthly etc?). Anyhow, glad you solved it.

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.