lghorizon 0.6.6__py3-none-any.whl → 0.6.7__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/models.py +4 -0
- {lghorizon-0.6.6.dist-info → lghorizon-0.6.7.dist-info}/METADATA +1 -1
- {lghorizon-0.6.6.dist-info → lghorizon-0.6.7.dist-info}/RECORD +6 -6
- {lghorizon-0.6.6.dist-info → lghorizon-0.6.7.dist-info}/LICENSE +0 -0
- {lghorizon-0.6.6.dist-info → lghorizon-0.6.7.dist-info}/WHEEL +0 -0
- {lghorizon-0.6.6.dist-info → lghorizon-0.6.7.dist-info}/top_level.txt +0 -0
lghorizon/models.py
CHANGED
|
@@ -333,6 +333,10 @@ class LGHorizonMqttClient:
|
|
|
333
333
|
self._brokerUrl = mqtt_broker_url.replace("wss://", "").replace(":443/mqtt", "")
|
|
334
334
|
self.clientId = make_id()
|
|
335
335
|
self._mqtt_client = mqtt.Client(self.clientId, transport="websockets")
|
|
336
|
+
|
|
337
|
+
self._mqtt_client.ws_set_options(
|
|
338
|
+
headers={"Sec-WebSocket-Protocol": "mqtt, mqttv3.1, mqttv3.11"}
|
|
339
|
+
)
|
|
336
340
|
self._mqtt_client.username_pw_set(self._auth.householdId, self._auth.mqttToken)
|
|
337
341
|
self._mqtt_client.tls_set()
|
|
338
342
|
self._mqtt_client.enable_logger(_logger)
|
|
@@ -3,10 +3,10 @@ lghorizon/const.py,sha256=75Qqmf6XJcBYcOya18cdeRrWq2D_1Q45tz9MLlfQ8Ao,8407
|
|
|
3
3
|
lghorizon/exceptions.py,sha256=spEjRvbNdce2fauQiOFromAbV1QcfA0uMUt0nRVnnkM,318
|
|
4
4
|
lghorizon/helpers.py,sha256=ZWpi7B3hBvwGV02KWQQHVyj7FLLUDtIvKc-Iqsj5VHA,263
|
|
5
5
|
lghorizon/lghorizon_api.py,sha256=1lNnN6FaPo4oV4x_SLXBA5kLnIILiNz8w3CiRko26Ao,23597
|
|
6
|
-
lghorizon/models.py,sha256=
|
|
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.7.dist-info/LICENSE,sha256=6Dh2tur1gMX3r3rITjVwUONBEJxyyPZDY8p6DZXtimE,1059
|
|
9
|
+
lghorizon-0.6.7.dist-info/METADATA,sha256=yF-VpLIb2XBfkFIXzmcpb8PIWCrQbyynYVUlegF4NbA,1038
|
|
10
|
+
lghorizon-0.6.7.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
11
|
+
lghorizon-0.6.7.dist-info/top_level.txt,sha256=usii76_AxGfPI6gjrrh-NyZxcQQuF1B8_Q9kd7sID8Q,10
|
|
12
|
+
lghorizon-0.6.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|