mampfes / hacs_waste_collection_schedule

Home Assistant integration framework for (garbage collection) schedules
MIT License
1.12k stars 671 forks source link

[Bug]: Duplicate entries for Waste Type #3035

Open ziggycatuk opened 1 week ago

ziggycatuk commented 1 week ago

I Have A Problem With:

Sensor configuration, The integration in general

What's Your Problem

value_template: '{{value.types|join(", ")}}'

Returns the following (duplicated results); ['Food Waste', 'Food Waste', 'Rubbish', 'Rubbish']

Instead of ; ['Food Waste', 'Rubbish']

I've only noticed this recently, I'm currently running 2.4.0, but have tried rolling back several versions with the same results.

Source (if relevant)

bcp_gov_uk

Logs

no relevant logs

Relevant Configuration

- platform: waste_collection_schedule
    name: waste_collection_by_type
    details_format: upcoming
    value_template: '{{value.types|join(", ")}}'

Checklist Source Error

Checklist Sensor Error

Required