Pi Support: fix state update push
This commit is contained in:
1 parent
0d330e3c5a
commit
eaa8933782
1 file changed
+1
-1
@@ -77,7 +77,7 @@ $(function() {
|
||||
self.onDataUpdaterPluginMessage = function(plugin, data) {
|
||||
if (plugin !== "pi_support") return;
|
||||
if (!data.hasOwnProperty("state") || !data.hasOwnProperty("type")) return;
|
||||
if (data.type !== "state") return;
|
||||
if (data.type !== "throttle_state") return;
|
||||
|
||||
self.fromThrottleState(data.state);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user