diff --git a/panels/hassio/dashboard/hassio-dashboard.html b/panels/hassio/dashboard/hassio-dashboard.html index 3844c646d8..3d17f4abad 100644 --- a/panels/hassio/dashboard/hassio-dashboard.html +++ b/panels/hassio/dashboard/hassio-dashboard.html @@ -107,7 +107,7 @@ Polymer({ }, storeTapped: function () { - this.fire('hassio-show-store'); + this.fire('hassio-show-page', { page: 'addon-store' }); }, }); diff --git a/panels/hassio/dashboard/hassio-supervisor-info.html b/panels/hassio/dashboard/hassio-supervisor-info.html index 74d3a38b22..c26c3c944f 100644 --- a/panels/hassio/dashboard/hassio-supervisor-info.html +++ b/panels/hassio/dashboard/hassio-supervisor-info.html @@ -35,6 +35,7 @@
+ View logs @@ -121,7 +128,7 @@ Polymer({ listeners: { 'hassio-select-addon': 'addonSelected', - 'hassio-show-store': 'showStore', + 'hassio-show-page': 'showPage', 'hass-api-called': 'apiCalled', }, @@ -167,8 +174,8 @@ Polymer({ } }, - showStore: function () { - this.currentPage = 'addon-store'; + showPage: function (ev) { + this.currentPage = ev.detail.page; }, dashboardSelected: function (currentPage) { @@ -183,5 +190,9 @@ Polymer({ return currentPage === 'addon-view'; }, + supervisorSelected: function (currentPage) { + return currentPage === 'supervisor'; + }, + }); diff --git a/panels/hassio/supervisor/hassio-supervisor.html b/panels/hassio/supervisor/hassio-supervisor.html new file mode 100644 index 0000000000..7ec21626df --- /dev/null +++ b/panels/hassio/supervisor/hassio-supervisor.html @@ -0,0 +1,87 @@ + + + + + + + + + + + + +