custom:appliance-poubelle-card

Animated card for bin collection days: the bin fills up over the days, shakes the evening before pickup, jumps on collection day and sparkles once emptied. It comes from the standalone ha-poubelle-card project (MIT), now part of this collection: same options, with the card name appliance-poubelle-card (replace custom:poubelle-card by custom:appliance-poubelle-card if you come from the standalone card).
| State | When | Animation |
|---|---|---|
| Normal | other days | contents rise, the lid lifts |
| Full (≥ 60 %) | end of the cycle | flies 🪰 and smells, bags wobble |
| Tonight | the day before pickup | the bin shakes, red border |
| Pickup | pickup day, before the truck | the bin hops |
| Emptied | pickup day, after the truck | sparkles ✨, green border |
grey, black, yellow, green, blue, brown, red, purple, burgundy, limefull_color: true) or coloured lid onlycontainer: bag) and bulky waste pile (container: bulky), or your own picture (image)calendar, Waste Collection Scheduleprefers-reduced-motionEverything can be set from the visual editor. YAML examples:
type: custom:appliance-poubelle-card
bin: red
name: General waste
days: [tuesday, friday] # or [1, 4] (0 = Monday … 6 = Sunday)
hour: 6 # time the truck comes
Typical lids: red general waste, yellow recycling, lime garden or FOGO, burgundy food / FOGO, purple glass, blue paper. Councils differ, so pick the colour of your lid and set content for what goes in it.
type: custom:appliance-poubelle-card
bin: lime
name: FOGO
content: organics
start_date: 2026-11-04
every: 2
full_color: true
start_date is any date the bin was or will be collected. Pickups repeat every every weeks from it, forwards and backwards. The weekday comes from start_date unless you set days.
type: custom:appliance-poubelle-card
bin: yellow
start_date: 2026-11-04 # a known recycling Wednesday
every: 2 # 1 = weekly, 2 = fortnightly, 4 = every four weeks
Recycling and garden waste on alternate weeks? Give the second card a start date one week later.
Add the Holiday integration (Settings → Devices & services → Add integration → Holiday) for your country and state. The card finds its calendar automatically, or you can pick it with holiday_calendar.
type: custom:appliance-poubelle-card
bin: red
days: [friday]
holidays: next_work_day
holidays |
A pickup that falls on a public holiday… | Needs |
|---|---|---|
none (default) |
is unaffected | — |
next_day |
moves to the next calendar day | Holiday |
next_work_day |
moves to the next working day | Holiday + Workday |
shift_week |
moves to the same day the following week (again if that is also a holiday) | Holiday |
shift_rest_of_week |
it and the rest of that week’s pickups move one day later | Holiday |
cancel |
doesn’t happen | Holiday |
next_work_day uses the calendar of the Workday integration, so your weekends, excluded days and added/removed holidays are respected. Without it, the card skips holidays and Sundays and shows a warning.
When a pickup is moved the card says so: “Pickup on Tuesday · moved (public holiday)”. Extra one-off dates can be added with holiday_dates: ["2026-12-24"].
By default only the lid is coloured. With full_color the whole bin is (the wheel stays black), which is easier to read with several bins side by side.
type: custom:appliance-poubelle-card
bin: blue
days: [tuesday]
full_color: true

A tied bag replaces the wheelie bin. It is flat at the start of the cycle and fills out until pickup day. The yellow bag is translucent, like recycling bags.
type: custom:appliance-poubelle-card
bin: yellow
container: bag
days: [thursday]

A pile of items (fridge, mattress, TV, tyre, box…) that grows until pickup day. bin is optional (grey meter by default).
type: custom:appliance-poubelle-card
container: bulky
month_week: 1 # first Wednesday of the month
days: [wednesday]
image replaces the drawing with your own picture (PNG or SVG, ideally on a transparent background), whatever the container.
type: custom:appliance-poubelle-card
container: bulky
image: /local/bulky.png
days: [wednesday]
month_week: 1
months limits pickups to some months (numbers or names). Out of season the card shows the next pickup date.
type: custom:appliance-poubelle-card
bin: green
name: Garden waste
days: [friday]
months: [9, 10, 11, 12, 1, 2, 3]
type: custom:appliance-poubelle-card
bin: yellow
days: [tuesday]
weeks: even # ISO week numbers; the other bin: weeks: odd
For fortnightly pickups, start_date + every: 2 is usually easier to match to your council calendar.
type: custom:appliance-poubelle-card
bin: blue
days: [tuesday]
month_week: 1 # 1st Tuesday of the month (2, 3, 4 or last)
type: custom:appliance-poubelle-card
bin: green
days: [saturday]
month_week: [2, 4] # 2nd and 4th Saturdays
type: custom:appliance-poubelle-card
bin: green
month_day: 15 # the 15th of every month
type: custom:appliance-poubelle-card
bin: yellow
entity: sensor.recycling_pickup # date, days left, calendar.*, Waste Collection Schedule…
interval: 14 # days between pickups (for the fill level)
hour: 6
The entity state can be a date (2026-12-03), a timestamp, a number of days, today / tomorrow, or text such as the Waste Collection Schedule default (on Thu, 03.12.2026, in 3 days) or 03/12/26 (day first, year on 2 or 4 digits). A date attribute (nextDate, next_date, date) or Waste Collection Schedule’s daysTo attribute is also used when present. No helper is needed to convert the date.
One calendar for all bins? calendar_filter keeps only the events whose title contains this text (case-insensitive). The fill level then follows the real previous pickup, so interval isn’t needed.
type: custom:appliance-poubelle-card
bin: yellow
entity: calendar.bin_collections
calendar_filter: Recycling # or a list: [Recycling, Paper]
hour: 6
Is the event the day before pickup (“Put the bins out”)? Add calendar_offset: 1.
type: grid
columns: 2
square: false
cards:
- type: custom:appliance-poubelle-card
bin: red
days: [1, 4]
compact: true
show_meter: false
scale: 0.47
headroom: 20
- type: custom:appliance-poubelle-card
bin: yellow
start_date: 2026-11-04
every: 2
compact: true
show_meter: false
scale: 0.47
headroom: 20
| Option | Type | Default | Description |
|---|---|---|---|
bin |
text | required (except bulky) | grey, black, yellow, green, blue, brown, red, purple, burgundy, lime |
name |
text | from the colour | Card title |
days |
list | — | Pickup days: numbers (0 = Monday) or names (tuesday, tue). Required unless start_date, month_day or entity is set |
start_date |
date | — | A known pickup date; pickups repeat every every weeks from it. Overrides weeks |
every |
number | 1 |
Weeks between pickups, counted from start_date |
weeks |
text | all | even / odd: every other week by ISO week number |
month_week |
text / list | — | Only the 1st, 2nd, 3rd, 4th or last given weekday of the month; a list is possible: [2, 4] |
month_day |
number | — | Once a month on a fixed date (1–31; 31 = last day of the month). Replaces days |
months |
list | all year | Pickup months: numbers (5 = May) or names. Combines with the options above |
holidays |
text | none |
none, next_day, next_work_day, shift_week, shift_rest_of_week, cancel (see above) |
holiday_calendar |
entity | auto | Calendar of the Holiday integration |
workday_calendar |
entity | auto | Calendar of the Workday integration (for next_work_day) |
holiday_dates |
list | — | Extra dates treated as holidays, e.g. ["2026-12-24"] |
entity |
entity | — | Source of the next pickup (see below). Click opens more-info |
hour |
number | 9 |
Time the truck comes (decimals allowed: 6.5 = 6:30) |
calendar_filter |
text / list | — | With a calendar.* entity: only events whose title contains this text |
calendar_offset |
number | 0 |
Days between the calendar event and the pickup (1 if the event is the day before) |
interval |
number | 7 |
Days between pickups (sensor entities only, for the fill level) |
content |
text | from the colour | What sticks out when full: rubbish, recycling, glass, paper, organics. Colours mean different things in different councils, so set this to match yours |
color |
CSS colour | from the colour | Meter colour |
full_color |
boolean | false |
Colour the whole bin, not just the lid |
body_color |
CSS colour | from the colour | Bin colour with full_color |
container |
text | wheelie_bin |
wheelie_bin, bag (rubbish bag) or bulky (pile of bulky waste) |
image |
URL | — | Your own picture instead of the drawing, e.g. /local/bulky.png |
lid_filter / body_filter |
CSS filter | — | Custom tint, e.g. hue-rotate(90deg) |
scale |
number | 0.62 |
Size of the bin |
headroom |
px | 70 |
Space above the bin (for the open lid) |
compact |
boolean | false |
Smaller margins |
show_meter |
boolean | true |
Fill meter |
show_status |
boolean | true |
Text under the bin |
theme_background |
boolean | false |
Use the HA theme card background |
language |
text | auto |
auto (your HA profile language), en, fr, sr, sr-Latn |
daysTo attributesensor whose state is a date (2026-10-20), a timestamp, a number of days (3) or today / tomorrowcalendar.*: events of the past and next 60 days, filterable by title (calendar_filter)input_datetime (with a date)CSS variables: --poubelle-card-background, --poubelle-card-border-color, --poubelle-card-text-color, --poubelle-card-secondary-color. State classes on ha-card: veille (tonight), jour (pickup), videe (emptied), plein (full).
Translations live in src/lang/, one JSON file per language, named with the Home Assistant language code (de.json, pt-BR.json…). To add one: copy en.json, translate the values (keep {placeholders}), register it in src/localize.js and open a pull request. Missing keys fall back to English; day and month names come from the browser automatically.