amaximus / garbage-collection-card

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

[BUG] how does due_txt work now? #105

Closed Pimentoso closed 1 year ago

Pimentoso commented 1 year ago

Describe the bug I cannot get the due_txt to show with the latest version. This config showed "tomorrow" correctly the day before collection

type: custom:garbage-collection-card
entity: sensor.compostable
icon_size: 35px
icon_color: '#7c3a0d'
hide_on_click: false
hide_before: 1
hide_on_today: true

But now this config shows "02/22/2023 in 1 days" instead of "tomorrow"

I tried adding hide_days and/or hide_date and explicitly adding due_txt but it does not show.

Screenshots If applicable, add screenshots to help explain your problem. Screenshot 2023-02-21 at 21 57 38

Environment (please complete the following information):

amaximus commented 1 year ago

Did you try due_txt: true? Please make sure the sensor doesn't use verbose_state: true.

Pimentoso commented 1 year ago

@amaximus ah sorry I misread the option. I thought it was to override the text with a custom one. due_txt: true works fine!