By default the browser language has priority over HASS language setting.
You may change this by setting hass_lang_priority to true.
I installed the repository and the Lovelace from this link (all from HACS). When I go into Lovelace I do not see the custom card for garbage-collection. I tried to do a manual card and that is not working as well. What am I missing?
[UPDATE]: it was my mistake on an extra space that was really frustrating. downing notepad++ helped me quick
I’ve searched for ages to find this extended function for my garbage sensors. Now I can happily remind myself to put the bins out.
@axg20202 Hey Andy, where did you put this code to trigger the alexa message? I would like to make an announcement over the Google home “Everywhere” group I have. Is this possible?
Hi
This card is great thank you!
Can someone tell me how I can either/or/both change the display name, or the font size?
That is of the label “Rubbish Out” and Recycling Out".
Thanks!!
type: custom:stack-in-card
mode: vertical
cards:
- type: custom:garbage-collection-card
entity: sensor.rubbish_out
icon_size: 40px
icon_color: '#11823c'
hide_date: true
- type: custom:garbage-collection-card
entity: sensor.recycling_out
icon_size: 40px
icon_color: '#34a1eb'
hide_date: true
I know this thread is a little old, but I thought I would add my configuration using the button-card lovelace addon which ends up looking like this:
Here is the code.
type: custom:button-card
entity: sensor.recycling
aspect_ratio: 1/1
show_name: false
styles:
grid:
- grid-template-areas: '"i" "days"'
- grid-template-columns: 1fr
- grid-template-rows: 1fr 0.2fr
icon:
- color: '#00CCFF'
- width: 70%
custom_fields:
days:
- padding: 2px
custom_fields:
days: |
[[[
if (entity.state == 0) return "Collected today";
else if (entity.state == 1) return "Collected tomorrow";
else
return "Collected in " + entity.attributes['days'] + " days";
]]]
Thank you!
Blatantly stolen and customised it!!
nice!! you can have the photos and the code of the card
here you are: Download garbage zip
type: vertical-stackcards: - camera_view: auto type: picture-glance - Pastebin.com
Hi Michele, I know it’s a old topic, but could you update again your .zip file? [It’s offline now]
(And also the lovelace code, because I think you changed it). Thanks a lot!
hi, excuse me for late but I read now the message. here you are: mickmmm/garbage_card at main · MicheleMercuri/mickmmm · GitHub
thanks a lot! No problem! Have a nice day
Ciao Michele
can you share the code for your fantastic layout card for Garbage?
Thanks