Skip to content

About

๐Ÿš› Home Assistant integration for tracking waste collection schedules. Features a Lovelace card with 5 waste type tiles (bio, mixed, plastic, paper, glass) showing countdown timers. Supports ICS/JSON import and HA sensors ready for automation notifications.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Waste Collection

Waste Collection

hacs_badge GitHub release

Home Assistant integration + dashboard card for your waste collection schedule: bio, mixed, plastic, paper and glass. Each tile counts down the days to the next pickup and lights up when it's today or tomorrow.

Install

  1. HACS โ†’ โ‹ฎ โ†’ Custom repositories โ†’ add https://github.com/Banzamel/Waste-Collection as Integration
  2. Search Waste Collection in HACS โ†’ Download โ†’ restart Home Assistant
  3. Settings โ†’ Devices & Services โ†’ Add Integration โ†’ Waste Collection
  4. Edit a dashboard โ†’ Add card โ†’ Waste Collection (or type: custom:waste-collection-card)

Requires Home Assistant 2024.7 or newer. To update: HACS โ†’ Waste Collection โ†’ Update โ†’ restart โ†’ refresh the browser (Ctrl+Shift+R).

Add pickup dates

  • ๐Ÿ“… on the card โ€” pick a waste type and date โ†’ Add ยท โœ• removes an entry

  • ๐Ÿ“ฅ ICS import โ€” the calendar file from your municipality's website. The waste type is recognised from the event name (bio, plastic, paper, glass, mixed and similar)

  • ๐Ÿ“ฅ JSON import โ€” a list of pickups, see example_collection_date.json:

    { "pickups": [ { "type": "bio", "date": "2026-03-06" }, { "type": "glass", "date": "2026-03-27" } ] }
  • Services โ€” waste_collection.add_pickup, waste_collection.remove_pickup, waste_collection.update_schedule (replaces the whole list)

Entities

Entity Value
sensor.waste_collection_next date of the nearest pickup (description attribute: e.g. "Bio, Mixed")
sensor.waste_collection_<type> days until the next pickup of that type
sensor.waste_collection_schedule number of pickups (list in attributes)
binary_sensor.waste_collection_today / _tomorrow on when anything is collected today / tomorrow
binary_sensor.waste_collection_<type>_today / _tomorrow the same for one type
calendar.waste_collection all pickups as calendar events

<type> is bio, mixed, plastic, paper or glass. Values refresh at midnight.

Example โ€” reminder the evening before:

automation:
  - alias: Waste collection reminder
    trigger:
      - platform: time
        at: "19:00:00"
    condition:
      - condition: state
        entity_id: binary_sensor.waste_collection_tomorrow
        state: "on"
    action:
      - service: notify.notify
        data:
          message: >
            Put out: {{ state_attr('binary_sensor.waste_collection_tomorrow', 'description') }}

Notes

  • Data is stored in /config/.storage/waste_collection.storage โ€” back it up, it survives updates and reinstalls.
  • Card not showing after an update? Refresh with Ctrl+Shift+R (in the mobile app: Settings โ†’ Companion App โ†’ Debugging โ†’ Reset frontend cache).
  • A sensor showing unknown means no future pickups of that type are scheduled.
  • Card and UI are in English and Polish (follows your Home Assistant language).
  • Changes in each version: Releases.

License

MIT โ€” see LICENSE. Not affiliated with Home Assistant.

About

๐Ÿš› Home Assistant integration for tracking waste collection schedules. Features a Lovelace card with 5 waste type tiles (bio, mixed, plastic, paper, glass) showing countdown timers. Supports ICS/JSON import and HA sensors ready for automation notifications.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages