Skip to content

Releases

Prescription refills on the dashboard

Choose a tag to compare

@magikh0e magikh0e released this 18 Nov 05:29

Added

  • The bundled dashboards now show how many prescription refills are left for each tracked supply. A new read-only Prescription refills card sits under Supplies on hand on the single-card, sections, and two-column layouts, and the figure is added to the supply line on the admin layout. It auto-discovers your supplies, stays hidden unless a supply has refills configured, and flags the last fill when refills run out, so you can see refills at a glance without opening the supply's settings. Re-paste (or re-import) your dashboard to pick it up. (Requested by GitHub user conundrum89, #65.)
  • A dashboards gallery: dashboards/README.md now shows a screenshot of each bundled layout beside its YAML, so you can see what each one looks like before choosing.

Changed

  • German and Dutch translations are back to 100% coverage for the relative/interval dose fields added in 0.48.0. Swedish was already completed for them by GitHub user el97 (#66).

Relative/interval dose schedules

Choose a tag to compare

@magikh0e magikh0e released this 16 Nov 02:18

Relative/interval dose schedules, for a medication taken several times a day with each dose timed from when you actually took the one before rather than at fixed clock times. The Add/Edit dose form has a new Relative/interval schedule option: pick the first dose's time, how many doses a day, and the hours between them. The first dose is a normal fixed-time reminder (the anchor); when you mark it given the next dose becomes due that many hours later, and each dose you mark schedules the next, up to the day's count, then the chain stops until the next morning re-anchors it from the first dose. Because the timing follows the actual mark, a dose taken late pushes the rest of the day out with it, so a strict gap (an antibiotic every 6 hours, or a twice-daily medication at least 6 hours apart) stays correct however your day shifts. Each dose in the chain is a full dose switch, so supply, adherence, mark/skip/snooze, and the daily reset all work as they do for any other dose. (Requested by GitHub user mnul, #40.)

Upgrading: existing doses and reminders are unchanged. If you want to use the new relative/interval type, re-import the "Medication Reminder - dose reminders" blueprint (Settings, Automations, Blueprints, the three-dot menu, Re-import) so it can time these doses off their dynamic next-due. Nothing else needs touching.

Note: in this first version the pill-box plan, calendar, and next-dose sensor show a relative chain at its first dose's time; the reminders, supply tracking, and overdue flagging follow the full chain. The dynamic legs can be surfaced in those views later if there is interest.

Refresh supply run-out after startup

Choose a tag to compare

@magikh0e magikh0e released this 15 Nov 20:37

A single bug fix, found with diagnostics shared by GitHub user msacharewicz.

Fixed

  • The supply run-out estimate no longer stays blank for a medication that has not been used since startup. The estimated run-out date (and the related doses-per-week and cost figures) is derived from a medication's scheduled doses, and it was recomputed only when the supply's count next changed. At startup a supply could publish its first value before the dose entities had finished loading, find no matching dose, and cache an empty run-out that stuck until the next change, so supplies whose dose had not been marked given or refilled since the last restart stayed blank while their stock and doses-left still looked right. The supply now refreshes these derived values on the catch-up pass it runs just after startup, once the dose entities are available, so every supply fills in without waiting to be touched. (#63)

No action needed on upgrade; a restart is enough for every supply to fill in.

Expose daily reset time on dose entities

Choose a tag to compare

@magikh0e magikh0e released this 14 Nov 11:01

A small dashboarding addition, requested by GitHub user msacharewicz.

Added

  • reset_time attribute on the dose switches. Each dose entity now carries the patient's configured daily reset time. A dose's dose_time is a bare HH:MM, so when the daily reset is something other than midnight (for example 04:00) a dose scheduled before the reset belongs to the previous medication day, and today_at(dose_time) can land on the wrong date. With reset_time alongside dose_time, a dashboard template has the boundary it needs to place every dose on the correct day. It is an extra attribute only; nothing about the integration's behaviour changes. (#64)

No action needed on upgrade.

Supply deducts for a dose taken a day late

Choose a tag to compare

@magikh0e magikh0e released this 12 Nov 19:20

A single bug fix, reported by GitHub user pppingme.

Fixed

  • Supply now deducts for a dose marked given a day late (or early). A medication scheduled for a specific day, for example a weekly dose on Saturdays, did not come down from the stock if it was marked given after the day had rolled over (say on Sunday morning), because the supply only decremented when the dose was due on the current medication day. Consumption now follows the mark itself: marking a scheduled dose given decrements the supply whether it is on time, a day late, or early, as long as it is still within the medication's course. A dose past its end date, or an as-needed (PRN) med, is unchanged. (#61)

No action needed on upgrade.

Adherence streak ignores paused doses

Choose a tag to compare

@magikh0e magikh0e released this 11 Nov 00:51

A single bug fix, reported by GitHub user Fleurelle13.

Fixed

  • The adherence streak no longer counts paused medications as missed. If a dose was paused (suspended), the streak sensor still treated it as due for the day, but a paused med is never marked given or skipped, so every day scored as a miss: the streak stuck at 0 and the 30-day adherence percentage read 0%. Paused doses are now left out of the streak scoring, the same way they are already left out of the pill-box plan, so a day on which every due dose was taken or paused counts as a clean day and the streak keeps running. (#60)

Only affects setups using both the opt-in pause switches and the opt-in adherence streak. No action needed on upgrade; the streak and adherence percentage correct themselves from the next daily reset onward.

Supply refill and dose end-date fixes

Choose a tag to compare

@magikh0e magikh0e released this 31 Oct 09:11

Two bug fixes, both contributed by GitHub user aandreimc-cyber.

Fixed

  • Supply stock no longer drops by an extra dose after a refill or a manual count. If a dose had already been marked given and you then added a package or set the count by hand, the next reload re-subtracted that same dose, so a bottle that should have read 41 came back as 40. Adding a package now keeps the day's consumption record intact, so an un-mark still gives back exactly what came off, while a manual count or a set-to refill is treated as authoritative: already-given doses are remembered as counted, so reconciliation cannot deduct them again and an un-mark cannot inflate the total, and a dose genuinely missed while the integration was not listening is still caught. (#57)
  • A dose with an end date now stops counting as scheduled once the course is over. The dose switch was not carrying the configured end date into its schedule and exposed state attributes, so a finished course could still report as scheduled for today, show as pending or overdue, and have its medication counted down from the supply. The end date added in 0.46.0 is now honoured everywhere the switch is read, not only by is_due. Doses without an end date are unchanged. (#58)

No action needed on upgrade; both are internal corrections to existing behaviour.

Dashboard dose ordering fix

Choose a tag to compare

@magikh0e magikh0e released this 25 Oct 01:45

A small dashboard fix.

Fixed

  • The bundled dashboards now sort the time-ordered cards by dose time instead of by the display name. The Mark given, Dose amounts, Took most of it, and Pause a medication cards were sorting alphabetically by entity name, so in 12-hour format a dose like "10:00 PM" sorted ahead of "2:00 PM" and the list fell out of chronological order. They now sort on the 24-hour dose_time attribute, so doses list in true time order in every layout and whether you display 12h or 24h. The supply, as-needed, and adherence cards are unchanged (they are name-ordered on purpose).

To pick it up, re-paste the dashboard card (or re-import the layout) from this release. The integration itself is unchanged, so an update alone does not rewrite a dashboard you already pasted. Thanks to the user who spotted the out-of-order list.

Documentation refresh and Swedish locale

Choose a tag to compare

@magikh0e magikh0e released this 25 Oct 01:27

A documentation and translations release. No change to the integration's behaviour, so there is nothing to reconfigure; updating is optional and safe.

Translations

  • New Swedish (sv) locale, complete at 100% coverage. Thanks to @el97 (#54).
  • Dutch (nl) and German (de) brought back to 100%, topping up the config labels added through 0.46.0. Thanks to @VGrol (#52) and @RookieIVG (#53).

Other locales (es, fr, it) still fall back to English for the newer keys until their contributors top them up (see #13); nothing is broken in the meantime.

Documentation

  • The README now documents every feature through 0.46.0: pause / suspend, start and end dates, strict reminders, multiple times per dose, unit / form labels, and the adherence streak.
  • The roadmap notes the entity-name localization work, the self-contained half of #49.

Thank you to everyone who contributed a locale this round.

End date for a dose

Choose a tag to compare

@magikh0e magikh0e released this 19 Oct 06:38

Added

End date for a dose. The Add and Edit dose form has a new optional End date field: set it and the medication stops reminding after that date, for a course with a set length (e.g. 7 days or 3 months). It is honoured for every schedule type (daily, specific weekdays, every N days, cycle, monthly), so the dose simply drops off once the course is over. Leave it blank to continue indefinitely, as before. An end date before the start date is rejected with a clear error rather than silently never firing. Complements the start date added in 0.42.0.


Thanks to the community member who requested it (tracked in #50).