add OneGang product type to routine

This commit is contained in:
mohammad
2025-04-17 09:32:20 +03:00
parent ccde857c29
commit 60df77efad
4 changed files with 343 additions and 136 deletions
@@ -177,7 +177,8 @@ class DeviceManagerBloc extends Bloc<DeviceManagerEvent, DeviceManagerState> {
devices[i].productType == DeviceType.Gateway ||
devices[i].productType == DeviceType.WallSensor ||
devices[i].productType == DeviceType.CeilingSensor ||
devices[i].productType == DeviceType.ThreeGang) {
devices[i].productType == DeviceType.ThreeGang ||
devices[i].productType == DeviceType.OneGang) {
implementedDevices.add(devices[i]);
}
}