Skip to content

Commit

Permalink
🚑 Fixes setting supervisor timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Jun 20, 2019
1 parent 3f068f2 commit fd4d77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/supervisor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd4d77b

Please sign in to comment.