From bbfc464ba001b6dc2814e6063291365605db02da Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 28 Aug 2020 17:26:54 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20supported=20flag=20to=20super?= =?UTF-8?q?visor=20info=20(#34)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/info.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/info.sh b/lib/info.sh index a878057..f49ba96 100644 --- a/lib/info.sh +++ b/lib/info.sh @@ -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' +}