You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The README described the page that existed before this branch, and eight
things in it had gone stale - some since 0.0.18:
* "searchable, sortable table" - it is a filtered list now
* the compact view was said to carry nine columns; Barcode made it ten
* "drink-window colouring (green = ready, red = too early or past)" -
too-early is blue and the final year is amber
* the drink-window sensors were missing from the feature list entirely
* the summary card example labelled the diagnostic entity "Connection",
which stopped being true in 0.0.18 when it began reporting a timestamp
* "About drink-window cards" said to sort by the FROM/TO columns, which
no longer exist - and the honest answer is now much better, since the
chips and the sensors both do it
* the test count said 149
* nothing told a contributor that mypy needs Home Assistant installed,
which is the difference between a real check and a silent pass
Two of those are pinned by tests now: the README's column count is read
against COMPACT_FIELDS, and its state labels are read out of cellar.html
itself, so renaming one there fails until the README follows. Both were
confirmed to fail against a sabotaged README rather than assumed to work.
0.0.20 carries the dashboard rebuild and the coordinator's hass cleanup.
The notes lead with the one visible change: a wine in the last year of
its window now reads "Drink this year" in amber rather than red. Red said
"too late" while the sensors counted it as ready, so the page and the
sensors disagreed about the same bottle.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LLPEGFSy3fLEuXNUPAPWR4
## The dashboard now answers the question you actually have
2
+
3
+
A cellar app exists to tell you what to open tonight. The bottle table could not: it listed every wine with two years beside it and left you to do the arithmetic, 151 times, on a phone.
4
+
5
+
There are four filter chips now, each carrying its count.
6
+
7
+
| Chip | Shows |
8
+
|---|---|
9
+
|**All wines**| Everything, including bottles with no recorded window |
10
+
|**Ready to drink**| This year falls inside the drinking window |
11
+
|**Past window**| The window closed before this year |
12
+
|**Needs aging**| The window has not opened yet |
13
+
14
+
The Ready and Past counts are the same numbers your sensors report, so a chip and the sensor card beside it cannot disagree.
15
+
16
+
## Every bottle shows where it is in its life
17
+
18
+
Instead of `FROM 2027 TO 2032`, each bottle gets a bar showing where this year sits inside its window, and a label saying what to do about it:
19
+
20
+
| Label | Meaning |
21
+
|---|---|
22
+
|**Ready**| Inside the drinking window |
23
+
|**Drink this year**| The final year — urgent, not gone |
24
+
|**Past window**| The window closed before this year |
25
+
|**Needs aging**| Not open yet |
26
+
|**No window**| CellarTracker has no recommendation for this bottle |
27
+
28
+
Colour is never the only signal, so the labels are readable if you cannot easily tell red from green, or if you are outside in the sun.
29
+
30
+
## ⚠️ One change you will notice
31
+
32
+
**A wine in the last year of its window is no longer painted red.** It now reads **Drink this year** in amber.
33
+
34
+
Red said "too late". The integration's own sensors have always counted that bottle as ready to drink, because the last year of a window is still inside it — so the page and the sensors were telling you different things about the same bottle. They agree now, and the page says what it means.
35
+
36
+
## Tap a bottle
37
+
38
+
Bottles expand. Inside: the barcode, the full drinking window, the value, a **Copy bin** button and a link to the wine on CellarTracker.
39
+
40
+
The bin and location are now on the row itself, too. They used to be hidden on narrow screens — which meant the phone, the one device you actually carry to the rack, was the one that could not show you where the bottle was.
41
+
42
+
## Search that works
43
+
44
+
Search now covers wine name, **vintage**, location, bin and **barcode**, and every word has to match. `chianti 2023` finds your 2023 Chiantis. Previously the vintage was not searchable at all and that search found nothing.
45
+
46
+
## Sorting
47
+
48
+
Sort by wine, vintage, value, drink-by year, bin or location, in either direction. Bottles with nothing recorded for that column now sort to the bottom rather than heading the list — a shelf of NV bottles no longer buries your oldest vintages.
49
+
50
+
## Also in this release
51
+
52
+
* The bottle list is **touch-sized throughout**: nothing you can tap is smaller than a fingertip, and the search box no longer makes iOS zoom when you tap it.
53
+
* On a desktop screen each bottle collapses to a single dense line, so you see roughly twice as many at once.
54
+
***Copy bin** tells the truth. Home Assistant is usually reached over plain `http` on your home network, where browsers refuse clipboard access outright — the button now falls back to a method that works there, and says **Could not copy** rather than claiming success if it genuinely cannot.
55
+
* The compact inventory API carries the barcode now, so anything you built against `?view=compact` gains a field and loses none.
56
+
57
+
## Nothing to reconfigure
58
+
59
+
No new settings, no renamed entities, no changed entity IDs, and the same minimum of **Home Assistant 2024.11**. If your dashboard card points at `/cellartracker/cellar.html` it picks all this up on its own.
60
+
61
+
## Under the hood
62
+
63
+
445 tests, up from 359. The dashboard's logic — filtering, searching, sorting, drink-window states — is now tested directly rather than not at all, including a check that runs the page's JavaScript and the integration's Python over the same cellar and compares what they count.
0 commit comments