i am dumb
This commit is contained in:
parent
b56b9a8260
commit
a4c13a2691
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class Curtain extends Component {
|
|||
.saveDevice({ ...this.props.device, intensity })
|
||||
.catch((err) => console.error("curtain update error", err));
|
||||
}else{
|
||||
this.props.updateState({ ...this.props.device, on },this.props.type);
|
||||
this.props.updateState({ ...this.props.device, intensity },this.props.type);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue