diff --git a/lib/pages/routines/widgets/routine_dialogs/ceiling_sensor/cps_dialog_slider_selector.dart b/lib/pages/routines/widgets/routine_dialogs/ceiling_sensor/cps_dialog_slider_selector.dart index 59f48fbd..49c3ac2e 100644 --- a/lib/pages/routines/widgets/routine_dialogs/ceiling_sensor/cps_dialog_slider_selector.dart +++ b/lib/pages/routines/widgets/routine_dialogs/ceiling_sensor/cps_dialog_slider_selector.dart @@ -40,7 +40,7 @@ class CpsDialogSliderSelector extends StatelessWidget { functionData: DeviceFunctionData( entityId: device?.uuid ?? '', functionCode: selectedFunction, - operationName: selectedFunctionData.operationName, + operationName: operationName, condition: condition, value: selectedFunctionData.value, ), @@ -51,7 +51,7 @@ class CpsDialogSliderSelector extends StatelessWidget { functionData: DeviceFunctionData( entityId: device?.uuid ?? '', functionCode: selectedFunction, - operationName: selectedFunctionData.operationName, + operationName: operationName, value: value, condition: selectedFunctionData.condition, ),