Closed FHeilmann closed 2 years ago
Try to use:
- platform: waste_collection_schedule
source_index: 1
name: restmuell
add_days_to: True
value_template: '{% if value.daysTo == 0 %}Today{% elif value.daysTo == 1 %}Tomorrow{% else %}in {{value.daysTo}} days{% endif %} ({{value.date.strftime("%a, %d.%m.%Y")}})'
date_template: '{{value.date.strftime("%a, %d.%m.%Y")}}'
types:
- Restmüll
source_index (integer) (optional, default: 0)
Reference to source (service provider). Used to assign a sensor to a specific source. Only required if you defined more than one source. The first defined source has the source_index 0, the second source 1, ...
Oh no, I must have missed that. Apologies.
I'm trying to add a 2nd source (abfall_io) to an existing source (muellmax) but whenever I add the 2nd source, the sensors for the 2nd source break.
My configuration:
With both sources, all sensors related to abfallio dates (prefixed `lu
) break. The dates show up in the calendar tab, but the sensors have unknown state. If I remove the
muellmax` source, those sensors work as expected.If any more information is needed, please let me know.
-Florian