🚑 Fixes setting supervisor timezone

This commit is contained in:
Franck Nijhof 2019-06-20 23:43:01 +02:00
parent 3f068f2581
commit fd4d77bef2
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -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