github dannymcc/may v0.22.2

5 hours ago

Bug Fixes

  • Fix `/api/calendar/feed` and the Home Assistant alerts route crashing on `MaintenanceSchedule.next_due_mileage` — the column is `next_due_odometer`. Calendar also called the non-existent `vehicle.unit_distance`; switched to `get_effective_odometer_unit()`. (#168)
  • Fix full-tank fuel consumption only counting the current fill's volume. With partial fills between two full tanks, the figure was arbitrarily low. Both per-log `get_consumption()` and the vehicle's average now sum every litre poured between the two full tanks (the standard fill-to-fill method) and bail out cleanly when an intervening log is flagged as missed. (#169)
  • Fix linking a station to an existing fuel log via edit not bumping the station's "Used Nx" counter, and changing the station on an already-linked log not updating the price-history row. The edit handler's price-history reconciliation now covers create + first link, swap, and clear cases consistently. (#170)

Don't miss a new may release

NewReleases is sending notifications on new releases.