mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 08:04:53 +00:00
changeAcSwitch
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user