feat: grab sensor firmware version for detail sheet

This commit is contained in:
2026-05-20 19:43:15 +02:00
parent e0a3d5e481
commit acbba735a0
6 changed files with 49 additions and 12 deletions
+5
View File
@@ -145,6 +145,11 @@ final sensorProvider =
return ref.watch(sensorRepositoryProvider).getSensor(id);
});
final sensorVersionProvider =
FutureProvider.autoDispose.family<String?, int>((ref, id) {
return ref.watch(sensorRepositoryProvider).getVersion(id);
});
// ---------------------------------------------------------------------------
// Tag data
// ---------------------------------------------------------------------------