Add core rebuild command (#44)

This commit is contained in:
Franck Nijhof 2021-01-14 03:19:26 +01:00 committed by GitHub
parent 4fc9a14155
commit 93752f4a74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,14 @@ function bashio::core.restart() {
bashio::api.supervisor POST /core/restart bashio::api.supervisor POST /core/restart
} }
# ------------------------------------------------------------------------------
# Rebuild Home Assistant.
# ------------------------------------------------------------------------------
function bashio::core.rebuild() {
bashio::log.trace "${FUNCNAME[0]}"
bashio::api.supervisor POST /core/rebuild
}
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Updates Home Assistant to the latest version. # Updates Home Assistant to the latest version.
# #