diff --git a/panels/config/zwave/zwave-log.html b/panels/config/zwave/zwave-log.html
index 367571b894..01276c2af0 100644
--- a/panels/config/zwave/zwave-log.html
+++ b/panels/config/zwave/zwave-log.html
@@ -16,16 +16,32 @@
margin: 0 auto;
max-width: 600px;
}
+
+ .device-picker {
+ padding-left: 24px;
+ padding-right: 24px;
+ padding-bottom: 24px;
+ }
OZW Log
-
-
+
+
+
@@ -50,12 +66,17 @@ class OzwLog extends Polymer.Element {
type: String,
value: 'Refresh to pull log'
},
+
+ numLogLines: {
+ type: Number,
+ value: 0
+ },
};
}
refreshLog() {
this.ozwLogs = 'Loading ozw log...';
- this.hass.callApi('GET', 'zwave/ozwlog')
+ this.hass.callApi('GET', 'zwave/ozwlog?lines=' + this.numLogLines)
.then((info) => {
this.ozwLogs = info;
});