Add healthy / supported to supervisor (#33)

This commit is contained in:
Pascal Vizeli 2020-08-28 17:27:37 +02:00 committed by GitHub
parent bbfc464ba0
commit dc6ba0d6d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,6 +133,22 @@ function bashio::supervisor.arch() {
bashio::supervisor 'supervisor.info.arch' '.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. # Returns or sets the stability channel of the setup.
# #