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
387 stars 90 forks source link

Blueprint Script for Triggering Offset of a collection #328

Closed stboch closed 2 years ago

stboch commented 2 years ago

I wrote a blueprint for the creation of scripts that will allow you to progamatically advance a collection in week by an offset. This solves my old use case example where bad weather will shift all collections by one day for the week.

garbage_collection_slide_in_week.yaml

bruxy70 commented 2 years ago

Thanks a lot. I have included that in the README. For some reason, the import does not load the preview. It shows the URL correctly, but then it shows it empty. Does it do the same for you? https://github.com/bruxy70/Garbage-Collection/blob/master/README.md#public-holidays

stboch commented 2 years ago

I updated the script apparently it handles the github stuff so just use https://gist.github.com/stboch/c93befde7a8699f90b8180e60283be40 in the import button. This is my first shared blueprint so I wasn't familar with that part yet.

bruxy70 commented 2 years ago

Link updated. Thanks for the contribution