amaximus / garbage-collection-card

Custom Lovelace card for Garbage Collection custom component
MIT License
127 stars 24 forks source link

[FeatureRequest] automatically hide card on due day #102

Closed Pimentoso closed 1 year ago

Pimentoso commented 1 year ago

Is your feature request related to a problem? Please describe. My area requires you put out garbage after 8pm on the day before, and they collect it very early at morning. So I have no use of a card for "today" because the garbage has already been collected, just the one for "tomorrow"

Describe the solution you'd like I'd like a parameter that's something like hide_on_today that will hide the card when the due date is today.

Thanks!

amaximus commented 1 year ago

Implemented in the newest release: 1.22.0

Please update the card and get back to me with results.

krzysiek2788 commented 1 year ago

Hi this update broke hide_before I have updated card and it is showing now all even if there is 16 days till due day: image image

amaximus commented 1 year ago

Thanks for the heads-up @krzysiek2788

I just released a fix for it. Please update the card and get back to me with results.

krzysiek2788 commented 1 year ago

@amaximus I update it just now and all is working with hide_before I have due day tomorrow so I will update you tomorrow if hide_on_today is working as well

michele-ferri-iubenda commented 1 year ago

@amaximus thanks a lot for the quick response, I updated to 1.22.1 and hide_on_today is working flawlessly.