add new flush sensor device to app

This commit is contained in:
mohammad
2025-05-06 16:20:05 +03:00
parent 8a21828dd4
commit 14a5d26ef9
20 changed files with 1112 additions and 7 deletions

View File

@ -595,10 +595,7 @@ class DevicesAPI {
final result = <DeviceModel>[];
for (final device in data) {
final mappedDevice = DeviceModel.fromJson(device);
if (mappedDevice.productType?.name !=
DeviceType.FlushMountedSensor.name) {
result.add(mappedDevice);
}
result.add(mappedDevice);
}
return result;
},