lghorizon 0.6.8__py3-none-any.whl → 0.6.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lghorizon/lghorizon_api.py +1 -1
- {lghorizon-0.6.8.dist-info → lghorizon-0.6.9.dist-info}/METADATA +1 -1
- {lghorizon-0.6.8.dist-info → lghorizon-0.6.9.dist-info}/RECORD +6 -6
- {lghorizon-0.6.8.dist-info → lghorizon-0.6.9.dist-info}/LICENSE +0 -0
- {lghorizon-0.6.8.dist-info → lghorizon-0.6.9.dist-info}/WHEEL +0 -0
- {lghorizon-0.6.8.dist-info → lghorizon-0.6.9.dist-info}/top_level.txt +0 -0
lghorizon/lghorizon_api.py
CHANGED
|
@@ -272,7 +272,7 @@ class LGHorizonApi:
|
|
|
272
272
|
_logger.debug("Obtain mqtt token...")
|
|
273
273
|
mqtt_auth_url = self._config["authorizationService"]["URL"]
|
|
274
274
|
if self._country_settings["use_legacy_auth"]:
|
|
275
|
-
mqtt_auth_url = self._country_settings["api_url"]
|
|
275
|
+
mqtt_auth_url = self._country_settings["api_url"] + "/auth-service"
|
|
276
276
|
mqtt_response = self._do_api_call(f"{mqtt_auth_url}/v1/mqtt/token")
|
|
277
277
|
self._auth.mqttToken = mqtt_response["token"]
|
|
278
278
|
_logger.debug(f"MQTT token: {self._auth.mqttToken}")
|
|
@@ -2,11 +2,11 @@ lghorizon/__init__.py,sha256=_VjVE44ErvJJMnF5QgXdlw_nQzbHZUhGWw5hF40PolQ,426
|
|
|
2
2
|
lghorizon/const.py,sha256=GljKG9GNOv3vXpY6wdjkJLfBZJPqKx0MzmQBrdmYEoE,4873
|
|
3
3
|
lghorizon/exceptions.py,sha256=spEjRvbNdce2fauQiOFromAbV1QcfA0uMUt0nRVnnkM,318
|
|
4
4
|
lghorizon/helpers.py,sha256=ZWpi7B3hBvwGV02KWQQHVyj7FLLUDtIvKc-Iqsj5VHA,263
|
|
5
|
-
lghorizon/lghorizon_api.py,sha256=
|
|
5
|
+
lghorizon/lghorizon_api.py,sha256=wsLn-uj3DVWqwwmLDz3Wt9AM6CjFBPxGed8CAXsPPVA,23770
|
|
6
6
|
lghorizon/models.py,sha256=mOeW9LegkaSlYefyyxVUGrNgSGiWcbEqGFd3lyyCzjQ,23678
|
|
7
7
|
lghorizon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
-
lghorizon-0.6.
|
|
9
|
-
lghorizon-0.6.
|
|
10
|
-
lghorizon-0.6.
|
|
11
|
-
lghorizon-0.6.
|
|
12
|
-
lghorizon-0.6.
|
|
8
|
+
lghorizon-0.6.9.dist-info/LICENSE,sha256=6Dh2tur1gMX3r3rITjVwUONBEJxyyPZDY8p6DZXtimE,1059
|
|
9
|
+
lghorizon-0.6.9.dist-info/METADATA,sha256=4wEZyvLhmXPSl6lK9bxc_Hg5bKLkgOhAK1kSoOcwJRo,1038
|
|
10
|
+
lghorizon-0.6.9.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
11
|
+
lghorizon-0.6.9.dist-info/top_level.txt,sha256=usii76_AxGfPI6gjrrh-NyZxcQQuF1B8_Q9kd7sID8Q,10
|
|
12
|
+
lghorizon-0.6.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|