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

Date formatting for an annual non-regular schedule #430

Closed rumunn95 closed 1 year ago

rumunn95 commented 1 year ago

Before you submit a new bug report, please check that

Write your question here

How to format dates if I have several of them in the older version worked like this: 2022-10-12,2022-11-18,2022-12-14 in the new version I have a date formatting error ;(

bruxy70 commented 1 year ago

The annual collection only takes 1 date. It always did, there was never a version that would support multiple dates. Also, the date shall be in the format mm/dd. Without the year - it will repeat each year.

rumunn95 commented 1 year ago

Why the older version worked this way for me, I chose annual and entered dates separated by commas because I have a non-regular garbage collection plan and it worked until I updated HA Core to version 10, I had an error downloading calendar data, so I updated the add-on and now I don't know how set it up because I don't have regular waste collection. Below is the screen as I had it done, unfortunately it is not mine because my settings were lost after updating the add-on 8c1c0b476252ce597ddec9207c49c3147860a6c1

qirk4 commented 1 year ago

Is there an option where we can manually add custom dates?

bruxy70 commented 1 year ago

Yes, there is, using manual update. The blueprint is in the examples included in the documentation.