diff --git a/bower.json b/bower.json
index b024bd7..d801d3e 100644
--- a/bower.json
+++ b/bower.json
@@ -1,7 +1,7 @@
{
"name": "strolch-wc-plc",
"description": "Strolch PLC WebComponents",
- "version": "0.2.1",
+ "version": "0.3.0",
"authors": ["Robert von Burg"],
"keywords": [
"strolch",
@@ -17,11 +17,11 @@
"homepage": "https://github.com/4treesCH/strolch-wc-plc",
"ignore": [],
"dependencies": {
- "strolchjs": "4treesCH/strolchjs#^0.2.7",
+ "strolchjs": "4treesCH/strolchjs#^0.2.8",
"strolch-wc-styles": "4treesCH/strolch-wc-styles#^0.3.0",
"strolch-wc-debounced-input": "4treesCH/strolch-wc-debounced-input#^0.1.0",
"strolch-wc-tree": "4treesCH/strolch-wc-tree#^0.1.5",
- "strolch-wc-ws-observer": "4treesCH/strolch-wc-ws-observer#^0.1.5",
+ "strolch-wc-ws-observer": "4treesCH/strolch-wc-ws-observer#^0.2.0",
"strolch-wc-localize-behavior": "4treesCH/strolch-wc-localize-behavior#^1.1.4",
"polymer": "Polymer/polymer#^1.11.3",
diff --git a/strolch-wc-plc-logical-devices.html b/strolch-wc-plc-logical-devices.html
index 6c9822b..c6bbd16 100644
--- a/strolch-wc-plc-logical-devices.html
+++ b/strolch-wc-plc-logical-devices.html
@@ -67,7 +67,7 @@
on-response="onGetDevicesResponse"
on-error="onRequestError">
-
+
@@ -99,12 +99,6 @@
devicesByGroup: {
type: Array,
value: []
- },
- wsObserverPath: {
- type: String,
- value: function () {
- return CustomWeb.baseWsPath + "/plc/observer";
- }
}
},
@@ -118,7 +112,7 @@
this.$.ajaxGetDevices.generateRequest();
if (!this.registeredForUpdates) {
- this.$.observerHandler.register("Resource", "PlcAddress", "strolch-wc-plc-logical-devices", true, this.handleUpdate.bind(this));
+ this.$.observerHandler.register("Resource", "PlcAddress", "strolch-wc-plc-logical-devices", {flat: true}, this.handleUpdate.bind(this));
this.registeredForUpdates = true;
}
},