mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-27 14:24:55 +00:00
power_clamp
This commit is contained in:
@ -58,7 +58,7 @@ class SmartPowerBloc extends Bloc<SmartPowerEvent, SmartPowerState> {
|
|||||||
SmartPowerFetchBatchEvent event, Emitter<SmartPowerState> emit) async {
|
SmartPowerFetchBatchEvent event, Emitter<SmartPowerState> emit) async {
|
||||||
emit(SmartPowerLoading());
|
emit(SmartPowerLoading());
|
||||||
try {
|
try {
|
||||||
final status =
|
|
||||||
await DevicesManagementApi().getBatchStatus(event.devicesIds);
|
await DevicesManagementApi().getBatchStatus(event.devicesIds);
|
||||||
// deviceStatus =
|
// deviceStatus =
|
||||||
// SmartPowerStatusModel.fromJson(event.devicesIds.first, status.status);
|
// SmartPowerStatusModel.fromJson(event.devicesIds.first, status.status);
|
||||||
|
|||||||
Reference in New Issue
Block a user