diff --git a/lib/features/scene/view/scene_control_devices.dart b/lib/features/scene/view/scene_control_devices.dart index f4556e1..00b8b02 100644 --- a/lib/features/scene/view/scene_control_devices.dart +++ b/lib/features/scene/view/scene_control_devices.dart @@ -60,6 +60,8 @@ class _SceneControlDevicesViewState extends State padding: EdgeInsets.zero, child: BlocProvider( create: (context) => DevicesCubit.getInstance(), + //TODO: remove the future builder for the first room call + //TODO: and replace it from a bloc call child: FutureBuilder( future: DevicesCubit.getInstance() .fetchDevicesByRoomId(rooms![0].id!),