Fixed bugs in automation fast update
This commit is contained in:
parent
dbc6223954
commit
b27c6a3f51
1 changed files with 2 additions and 2 deletions
|
@ -447,11 +447,11 @@ class AutomationSaveModal extends Component {
|
|||
deviceId: trigger.device,
|
||||
kind,
|
||||
},
|
||||
kind
|
||||
kind === "booleanTrigger"
|
||||
? { on: trigger.on }
|
||||
: {
|
||||
operator: trigger.operand,
|
||||
value: trigger.value,
|
||||
range: parseInt(trigger.value),
|
||||
}
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue