updated to include adding simulated bands with mock naming
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -321,6 +321,10 @@ class WristbandManager:
|
||||
|
||||
def add_simulated_band(self, band_id: str, profile: str = "stable"):
|
||||
"""Add a simulated wristband to inventory"""
|
||||
# Change naming to use MOCK prefix if not already present
|
||||
if not band_id.startswith("MOCK-"):
|
||||
band_id = f"MOCK-{band_id.replace('VitalLink-', '')}"
|
||||
|
||||
band = SimulatedWristband(band_id, profile)
|
||||
self.inventory[band_id] = band
|
||||
print(f"➕ Added simulated band {band_id} ({profile})")
|
||||
|
||||
Reference in New Issue
Block a user