Update CameraAccessory Implementation
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ export class cameraAccessory extends accessory {
|
||||
|
||||
setValue(key, value) {
|
||||
if (key == "state" && value != "") {
|
||||
if (value == "On") {
|
||||
if (value == "1") {
|
||||
this.state.Motion = true
|
||||
} else {
|
||||
this.state.Motion = false
|
||||
|
||||
Reference in New Issue
Block a user