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 f90fe7f commit 38288e2Copy full SHA for 38288e2
common/rootfs/docker-entrypoint.sh
@@ -87,6 +87,8 @@ function export_config() {
87
export_config 'mqtt'
88
export_config 'serial'
89
90
+export TZ="$(bashio::supervisor.timezone)"
91
+
92
if (bashio::config.is_empty 'mqtt' || ! (bashio::config.has_value 'mqtt.server' || bashio::config.has_value 'mqtt.user' || bashio::config.has_value 'mqtt.password')) && bashio::var.has_value "$(bashio::services 'mqtt')"; then
93
if bashio::var.true "$(bashio::services 'mqtt' 'ssl')"; then
94
export ZIGBEE2MQTT_CONFIG_MQTT_SERVER="mqtts://$(bashio::services 'mqtt' 'host'):$(bashio::services 'mqtt' 'port')"
0 commit comments