mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
passed correct operation name to onSliderChanged
and onConditionChanged. in
CpsDialogSliderSelector`.
This commit is contained in:
@ -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,
|
||||
),
|
||||
|
Reference in New Issue
Block a user