Restart hass will use supervisor api.

https://www.pivotaltracker.com/story/show/145295197
This commit is contained in:
Paulus Schoutsen 2017-05-11 20:21:44 -07:00
parent cf8905e7ad
commit 28f3a23acc

View File

@ -38,12 +38,11 @@
path="hassio/homeassistant/update" path="hassio/homeassistant/update"
>Update</ha-call-api-button> >Update</ha-call-api-button>
</template> </template>
<ha-call-service-button <ha-call-api-button
class="warning" class="warning"
hass="[[hass]]" hass="[[hass]]"
domain="homeassistant" path="hassio/homeassistant/restart"
service="restart" >Restart</ha-call-api-button>
>Restart</ha-call-service-button>
</div> </div>
</paper-card> </paper-card>
</template> </template>