mirror of
https://github.com/tobiasehlert/teslamateapi.git
synced 2026-02-27 09:54:18 +08:00
@@ -81,7 +81,7 @@ func startMQTT() (*statusCache, error) {
|
||||
// getting mqtt flag
|
||||
s.mqttDisabled = getEnvAsBool("DISABLE_MQTT", false)
|
||||
if s.mqttDisabled {
|
||||
return nil, errors.New("[notice] TeslaMateAPICarsStatusV1 DISABLE_MQTT is set to true.. can not return status for car without mqtt!")
|
||||
return nil, errors.New("[notice] TeslaMateAPICarsStatusV1 DISABLE_MQTT is set to true.. can not return status for car without mqtt")
|
||||
}
|
||||
|
||||
// default values that get might get overwritten..
|
||||
|
||||
Reference in New Issue
Block a user