mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-15 17:47:53 +00:00
Sp 1513 fe implement device dropdown and live status card presence vacancy (#179)
* Called the widget of presence sensor status widgets. * Enahnced `PowerClampEnergyDataDeviceDropdown` design and made it a dropdown. * connected the realtime feature to the occupancy side bar, but with a mock id. * revert default tab to energyManagement.
This commit is contained in:
@ -23,7 +23,7 @@ class FirebaseRealtimeDeviceService implements RealtimeDeviceService {
|
||||
|
||||
return Status(
|
||||
code: status['code']?.toString() ?? '',
|
||||
value: num.tryParse(status['value']?.toString() ?? '0'),
|
||||
value: status['value']?.toString() ?? '',
|
||||
);
|
||||
}).toList();
|
||||
});
|
||||
|
Reference in New Issue
Block a user