mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-07 04:21:29 +00:00
🚑 Fixes setting supervisor timezone
This commit is contained in:
parent
3f068f2581
commit
fd4d77bef2
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ function bashio::supervisor.timezone() {
|
|||
|
||||
bashio::log.trace "${FUNCNAME[0]}:" "$@"
|
||||
|
||||
if bashio::var.has_value "${channel}"; then
|
||||
if bashio::var.has_value "${timezone}"; then
|
||||
channel=$(bashio::var.json timezone "${timezone}")
|
||||
bashio::api.hassio POST /supervisor/options "${timezone}"
|
||||
bashio::cache.flush_all
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue