Faecon
(Jo)
October 31, 2023, 5:12am
617
I use
sort:
method: attribute
attribute: sort-date
reverse: false
glas
20231113
papier
20231113
pdm
20231023
restafval
20231030
but it should be
pdm
20231023
restafval
20231030
papier
20231113
glas
20231113
I want the first date coming first. What am I doing wrong ?
Pippyn
October 31, 2023, 7:16am
618
Please open an issue on my github. With your config, an address in your neighborhood and any possible errors in your log.
Pippyn
October 31, 2023, 7:19am
619
It should be:
sort:
method: attribute
attribute: Sort_date
reverse: false
1 Like
Goodmorning! I have a question for Afvalbeheer (use Limburg.NET ).
Is it possible to change the icons? I saw in this topics a nice one.
In case it’s possible, could somebody explain me how to do it, maybe with a example?
The one that is standard i would like to change.
Thanks for the help and have nice holidays.
Gr. Richard
Faecon
(Jo)
December 27, 2023, 10:22am
622
I think you can change the icon in your entity options page
Hi Faecon Jo,
thanks for your reply. But i think this icons are the standard mdi, not the nice ones (colored) like i mention. Do you know how or where i can change that?
Thanks!
Pippyn
December 31, 2023, 12:13pm
626
You can change the icon of every entity in HA, just set the entity_picture
to whatever you would like.
Have a look at the docs:
Hi, yes indeed, since I wrote my code the attribute changed so your change was what I also did
1 Like
Rufes1989
(Rufes1989)
February 1, 2024, 8:25pm
628
Just started with HA.
Cant get any information. Keeps showing “onbekend”
afvalbeheer:
wastecollector: mijnafvalwijzer
resources:
- restafval
- gft
- papier
- pmd
postcode: ******
streetnumber: **
suffix: a # (optional)
upcomingsensor: 0 # (optional)
dateformat: ‘%d-%m-%Y’ # (optional)
dateonly: 0 # (optional)
name: “” # (optional)
nameprefix: 1 # (optional)
builtinicons: 1 # (optional)
dutch: 1 # (optional)
I have checked the mijnafvalwijzer website and I just get information based on my zip code and house number. Other waste data from HACS does work…
Pippyn
February 2, 2024, 7:33am
629
@Rufes1989 Please make a new issue on my repo with an address for me to test with
FAQZYNL
(FAQZY)
February 2, 2024, 4:14pm
630
i got same issu. icons are also not working
afvalbeheer:
wastecollector: HVC
resources:
- restafval
- gft
- papier
- pmd
postcode: 1722KK
streetnumber: 1
suffix: '' # (optional)
upcomingsensor: 1 # (optional)
dateformat: '%d-%m-%Y' # (optional)
dateonly: 0 # (optional)
name: "" # (optional)
nameprefix: 1 # (optional)
builtiniconsnew: 1 # (optional)
dutch: 0 # (optional)
Pippyn
February 5, 2024, 8:02am
631
For the address in your config you should use MijnAfvalwijzer, not HVC.
So this config is working:
afvalbeheer:
- afvalbeheer:
wastecollector: MijnAfvalwijzer
resources:
- restafval
- gft
- pmd
postcode: 1722KK
streetnumber: 1
FAQZYNL
(FAQZY)
February 5, 2024, 1:50pm
632
Pippyn:
MijnAfvalwijzer
Ohh, Thanks mate. Just can’t get the icons on tomorrow or next one
Faecon
(Jo)
February 6, 2024, 4:52pm
633
- platform: afvalbeheer
wastecollector: RecycleApp
value_template: >-
{% set A = ["Maandag", "Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag","Zondag"] %}
{% set B = ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"] %}
# {{ (days) "%d" (mon)}}
resources:
- restafval
- papier
- pmd
- glas
postcode: 9xxx
streetname: xxxxxxxxx
upcomingsensor: 1 # (optional)
dateformat: "%d %B" # (optional)
dateonly: 1 # (optional)
nameprefix: 1 # (optional)
builtinicons: 0 # (optional)
dutch: 1 # (optional)
name: "Vuilnis"
``
It isn't working anymore, but I didn't change anything. What went wrong ?
Pippyn
February 7, 2024, 8:20am
634
I tested with a minimal config, and it is working fine.
afvalbeheer:
- wastecollector: RecycleApp
resources:
- restafval
- papier
- pmd
- glas
- gft
- grofvuil
postcode: 9xxx
streetname: xxxxxxxxxxx
Faecon
(Jo)
February 7, 2024, 8:45am
635
I get : TemplateSyntaxError: expected token ‘end of print statement’, got ‘string’
any idea ?
Pippyn
February 7, 2024, 8:53am
636
Why do you have a value_template
in your config in the first place? Remove that option from your config and it should work
Faecon
(Jo)
February 7, 2024, 9:17am
637
my states of the sensors made are “unknown”