diff --git a/resource/web/event_config.tmpl b/resource/web/event_config.tmpl
index 1da66596..5582c92c 100755
--- a/resource/web/event_config.tmpl
+++ b/resource/web/event_config.tmpl
@@ -34,9 +34,9 @@
data-id="{{.getId()}}"
data-name="{{.getName()}}"
data-type="{{.getType()}}"
- {{#.getDeviceConfig().getConfiguration()}}
+ {{#.getDeviceConfigurator().getConfiguration()}}
data-{{.getName()}}="{{.getString()}}"
- {{/.getDeviceConfig().getConfiguration()}}
+ {{/.getDeviceConfigurator().getConfiguration()}}
>
@@ -71,9 +71,9 @@
diff --git a/resource/web/sensor_config.tmpl b/resource/web/sensor_config.tmpl
index 14c45d0f..14e0aa1e 100755
--- a/resource/web/sensor_config.tmpl
+++ b/resource/web/sensor_config.tmpl
@@ -37,9 +37,9 @@
data-name="{{.getName()}}"
data-type="{{.getType()}}"
data-sync="{{.isSynced()}}"
- {{#.getDeviceConfig().getConfiguration()}}
+ {{#.getDeviceConfigurator().getConfiguration()}}
data-{{.getName()}}="{{.getString()}}"
- {{/.getDeviceConfig().getConfiguration()}}
+ {{/.getDeviceConfigurator().getConfiguration()}}
>
@@ -74,9 +74,9 @@