From ba20998067fc0a6aad9ba38c04ff01f63a6e0de4 Mon Sep 17 00:00:00 2001 From: Faris Armoush Date: Thu, 24 Apr 2025 14:21:38 +0300 Subject: [PATCH] disabled realtime on batch control. --- .../bloc/flush_mounted_presence_sensor_bloc.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/pages/device_managment/flush_mounted_presence_sensor/bloc/flush_mounted_presence_sensor_bloc.dart b/lib/pages/device_managment/flush_mounted_presence_sensor/bloc/flush_mounted_presence_sensor_bloc.dart index d692ed2b..aea800dd 100644 --- a/lib/pages/device_managment/flush_mounted_presence_sensor/bloc/flush_mounted_presence_sensor_bloc.dart +++ b/lib/pages/device_managment/flush_mounted_presence_sensor/bloc/flush_mounted_presence_sensor_bloc.dart @@ -79,7 +79,6 @@ class FlushMountedPresenceSensorBloc final response = await DevicesManagementApi().getBatchStatus(event.devicesIds); deviceStatus = FlushMountedPresenceSensorModel.fromJson(response.status); emit(FlushMountedPresenceSensorUpdateState(model: deviceStatus)); - _listenToChanges(event.devicesIds.first); } catch (e) { emit(FlushMountedPresenceSensorFailedState(error: e.toString())); }