We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f86c63 commit 93e00b5Copy full SHA for 93e00b5
lib/info.sh
@@ -148,3 +148,11 @@ function bashio::info.operating_system() {
148
bashio::log.trace "${FUNCNAME[0]}"
149
bashio::info 'supervisor.info.operating_system' '.operating_system'
150
}
151
+
152
+# ------------------------------------------------------------------------------
153
+# Returns the current state of Home Assistant Core
154
155
+function bashio::info.state() {
156
+ bashio::log.trace "${FUNCNAME[0]}"
157
+ bashio::info 'supervisor.info.running' '.state'
158
+}
0 commit comments