It should be:
sort:
method: attribute
attribute: Sort_date
reverse: false
It should be:
sort:
method: attribute
attribute: Sort_date
reverse: false
Oh how stupid me…
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
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!
Maybe like this ?
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
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…
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)
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
Ohh, Thanks mate. Just can’t get the icons on tomorrow or next one
- 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 ?
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
I get : TemplateSyntaxError: expected token ‘end of print statement’, got ‘string’
any idea ?
Why do you have a value_template
in your config in the first place? Remove that option from your config and it should work
my states of the sensors made are “unknown”
Please make a new issue on my github with all your informatie, error logs, config, etc.
My sensors for RecycleApp
weren’t working either last weekend or around there. It was fixed when I updated the component to the latest version and restarted HA.