mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-06 20:11:24 +00:00
✨ Add healthy / supported to supervisor (#33)
This commit is contained in:
parent
bbfc464ba0
commit
dc6ba0d6d5
1 changed files with 16 additions and 0 deletions
|
@ -133,6 +133,22 @@ function bashio::supervisor.arch() {
|
|||
bashio::supervisor 'supervisor.info.arch' '.arch'
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Returns the supported state of the system.
|
||||
# ------------------------------------------------------------------------------
|
||||
function bashio::supervisor.supported() {
|
||||
bashio::log.trace "${FUNCNAME[0]}"
|
||||
bashio::supervisor 'supervisor.info.supported' '.supported'
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Returns the healthy state of the system.
|
||||
# ------------------------------------------------------------------------------
|
||||
function bashio::supervisor.healthy() {
|
||||
bashio::log.trace "${FUNCNAME[0]}"
|
||||
bashio::supervisor 'supervisor.info.healthy' '.healthy'
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Returns or sets the stability channel of the setup.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue