diff --git a/lib/supervisor.sh b/lib/supervisor.sh index a6795e5..129e611 100644 --- a/lib/supervisor.sh +++ b/lib/supervisor.sh @@ -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. #