I tried it on the home assistante help pages → sjabloon and it’s works almost.
Today would there “keukenafval, restafval, pmd” stay.
But the code doesn’t search for individual words. Wenn I changed ‘keukenafval’ to ‘keukenafval, restafval, pmd’ then the sensor output from “Next pickup item”. is “keukenafval”.
So it’s works almost but he doesn’t search for a specific wordt in the part of te output from the sensor.afvalwijzer_next_type
Thank u Tom.
It’s worked. That live can bee so easy.
Do you now also the answer about this.
3 from the 5 words are in sensor.afvalwijzer_next_type
keukenafval is the first so I see by the afvalwijzer_next_item_formatted the value “keukenafval”.
But PMD and restafval are also in sensor.afvalwizjer_next_type. Can I change the code that de value from afvalwijzer_next_item_formatted is "Keukenafval, PMD, Restafval.