-
- Hostname |
- [[data.hostname]] |
-
Type |
- [[data.type]] |
+ [[data.type]] ([[data.os]]) |
- OS |
- [[data.os]] |
-
-
- Host Control version |
+ Host controller version |
[[data.version]] |
- Latest available version |
+ Latest version |
[[data.last_version]] |
@@ -81,15 +86,8 @@ class HassioHostInfo extends Polymer.Element {
static get properties() {
return {
- hass: {
- type: Object,
- },
-
- data: {
- type: Object,
- value: {},
- },
-
+ hass: Object,
+ data: Object,
errors: String,
};
}
@@ -119,13 +117,13 @@ class HassioHostInfo extends Polymer.Element {
}
computeRebootAvailable(data) {
- return data.features && data.features.indexOf('reboot') !== -1;
+ return data.features && data.features.includes('reboot');
}
computeShutdownAvailable(data) {
- return data.features && data.features.indexOf('shutdown') !== -1;
+ return data.features && data.features.includes('shutdown');
}
}
customElements.define(HassioHostInfo.is, HassioHostInfo);
-
+
\ No newline at end of file
diff --git a/hassio/advanced/hassio-supervisor-info.html b/hassio/system/hassio-supervisor-info.html
similarity index 78%
rename from hassio/advanced/hassio-supervisor-info.html
rename to hassio/system/hassio-supervisor-info.html
index babac87922..548c078eae 100644
--- a/hassio/advanced/hassio-supervisor-info.html
+++ b/hassio/system/hassio-supervisor-info.html
@@ -8,8 +8,19 @@
-
+
Version |
- [[data.version]] |
+
+ [[data.version]]
+
+ (Beta)
+
+ |
- Beta channel |
- [[data.beta_channel]] |
-
-
- Latest available version |
+ Latest version |
[[data.last_version]] |
@@ -43,7 +55,6 @@
-
View logs
+
\ No newline at end of file
diff --git a/hassio/system/hassio-supervisor-log.html b/hassio/system/hassio-supervisor-log.html
new file mode 100644
index 0000000000..49551a82a0
--- /dev/null
+++ b/hassio/system/hassio-supervisor-log.html
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/hassio/system/hassio-system.html b/hassio/system/hassio-system.html
new file mode 100644
index 0000000000..ba62bacf3d
--- /dev/null
+++ b/hassio/system/hassio-system.html
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
Information
+
+
+
System log
+
+
+
+
+
+
\ No newline at end of file