diff --git a/lib/features/devices/bloc/acs_bloc/acs_bloc.dart b/lib/features/devices/bloc/acs_bloc/acs_bloc.dart index 33dd1dd..4fd7fe0 100644 --- a/lib/features/devices/bloc/acs_bloc/acs_bloc.dart +++ b/lib/features/devices/bloc/acs_bloc/acs_bloc.dart @@ -131,7 +131,7 @@ class ACsBloc extends Bloc { if (allAcsPage) { emit(AcsLoadingState()); for (AcStatusModel ac in deviceStatusList) { - if (ac.uuid == event.deviceId) { + if (ac.uuid == event.productId) { ac.acSwitch = acSwitchValue; } }