Adds support for timezone in general info command (#11)

This commit is contained in:
Franck Nijhof 2019-08-19 20:28:45 +02:00 committed by GitHub
parent 4533f16649
commit 0416242047
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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