Add supported flag to supervisor info (#34)

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

View file

@ -124,3 +124,11 @@ function bashio::info.timezone() {
bashio::log.trace "${FUNCNAME[0]}"
bashio::info 'supervisor.info.timezone' '.timezone'
}
# ------------------------------------------------------------------------------
# Returns the supported state of the system.
# ------------------------------------------------------------------------------
function bashio::info.supported() {
bashio::log.trace "${FUNCNAME[0]}"
bashio::info 'supervisor.info.supported' '.supported'
}