Pi Support: fix state update push

This commit is contained in:
Gina Häußge committed 2018-07-17 17:46:36 +02:00
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);
}