Fix Hass.io panel in old HA versions

This commit is contained in:
Paulus Schoutsen 2017-07-16 16:17:57 -07:00
parent 30ba79121d
commit 43d7fd6cc2
2 changed files with 10 additions and 2 deletions

View File

@ -53,7 +53,7 @@
class='warning'
hass='[[hass]]'
path="hassio/supervisor/reload"
>Restart</ha-call-api-button>
>Reload</ha-call-api-button>
</div>
</paper-card>
</template>

View File

@ -26,7 +26,15 @@ Polymer({
hass: Object,
narrow: Boolean,
showMenu: Boolean,
route: Object,
route: {
Object,
// Fake route object
value: {
prefix: '/hassio',
path: '',
__queryParams: {}
}
},
loaded: {
type: Boolean,