Asset meters and Readings #98

Open
opened 2026-11-27 16:43:33 -05:00 by bobby · 0 comments
Owner

Part of #73 (spec: #72)

What to build

An Asset can have an optional meter (distance or duration), settable only while it has no Readings. Members record and list Readings (read_on, SI value) under the Asset.

Acceptance criteria

  • Setting a meter works while the Asset has no Readings and is refused after
  • Members can create and list Readings, nested under the Asset
  • Creating a Reading on an Asset without a meter is refused
Part of #73 (spec: #72) ## What to build An Asset can have an optional meter (`distance` or `duration`), settable only while it has no Readings. Members record and list Readings (`read_on`, SI `value`) under the Asset. ## Acceptance criteria - [ ] Setting a meter works while the Asset has no Readings and is refused after - [ ] Members can create and list Readings, nested under the Asset - [ ] Creating a Reading on an Asset without a meter is refused
bobby added the ready-for-agent label 2026-11-27 16:43:33 -05:00
bobby added a new dependency 2026-11-27 16:43:34 -05:00
bobby added a new dependency 2026-11-27 16:43:34 -05:00
bobby added a new dependency 2026-11-27 16:43:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: bobby/hapi#98