Added current temp to AC functions

This commit is contained in:
Abdullah Alassaf
2025-03-11 23:41:21 +03:00
parent 41605bef6b
commit b563cc378e
4 changed files with 37 additions and 2 deletions

View File

@ -41,6 +41,11 @@ class DeviceDialogHelper {
final deviceSelectedFunctions =
routineBloc.state.selectedFunctions[data['uniqueCustomId']] ?? [];
if (removeComparetors) {
//remove the current temp function in the 'if container'
functions.removeAt(3);
}
switch (productType) {
case 'AC':
return ACHelper.showACFunctionsDialog(context, functions, data['device'],