mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
run widget
This commit is contained in:
1 parent
c961bc2c88
commit
ae0d5b86ad
1 file changed
+1
-1
@@ -12,6 +12,6 @@ class WidgetApi extends ApiController{
|
|||||||
$response = !$lastValue;
|
$response = !$lastValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->response($response);
|
$this->response(['value' => $response]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user