changeAcSwitch

This commit is contained in:
mohammad
2025-01-09 15:37:26 +03:00
parent cc9ddffa44
commit 763e39ef12

View File

@ -131,7 +131,7 @@ class ACsBloc extends Bloc<AcsEvent, AcsState> {
if (allAcsPage) {
emit(AcsLoadingState());
for (AcStatusModel ac in deviceStatusList) {
if (ac.uuid == event.deviceId) {
if (ac.uuid == event.productId) {
ac.acSwitch = acSwitchValue;
}
}