mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
disabled realtime on batch control.
This commit is contained in:
@ -79,7 +79,6 @@ class FlushMountedPresenceSensorBloc
|
|||||||
final response = await DevicesManagementApi().getBatchStatus(event.devicesIds);
|
final response = await DevicesManagementApi().getBatchStatus(event.devicesIds);
|
||||||
deviceStatus = FlushMountedPresenceSensorModel.fromJson(response.status);
|
deviceStatus = FlushMountedPresenceSensorModel.fromJson(response.status);
|
||||||
emit(FlushMountedPresenceSensorUpdateState(model: deviceStatus));
|
emit(FlushMountedPresenceSensorUpdateState(model: deviceStatus));
|
||||||
_listenToChanges(event.devicesIds.first);
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
emit(FlushMountedPresenceSensorFailedState(error: e.toString()));
|
emit(FlushMountedPresenceSensorFailedState(error: e.toString()));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user