mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-06 12:01:25 +00:00
Add core rebuild command (#44)
This commit is contained in:
parent
4fc9a14155
commit
93752f4a74
1 changed files with 8 additions and 0 deletions
|
@ -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.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue