lghorizon 0.6.5__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 CHANGED
@@ -332,8 +332,10 @@ class LGHorizonMqttClient:
332
332
  self._auth = auth
333
333
  self._brokerUrl = mqtt_broker_url.replace("wss://", "").replace(":443/mqtt", "")
334
334
  self.clientId = make_id()
335
- self._mqtt_client = mqtt.Client(
336
- self.clientId, transport="websockets", protocol=mqtt.MQTTv5
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"}
337
339
  )
338
340
  self._mqtt_client.username_pw_set(self._auth.householdId, self._auth.mqttToken)
339
341
  self._mqtt_client.tls_set()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lghorizon
3
- Version: 0.6.5
3
+ Version: 0.6.7
4
4
  Summary: Python client for Liberty Global Horizon settop boxes
5
5
  Home-page: https://github.com/sholofly/LGHorizon-python
6
6
  Author: Rudolf Offereins
@@ -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=kVunw-jicN0tTO7JvuJEBuMNe3VEN8Gvz1QvLSEPJB8,23593
6
+ lghorizon/models.py,sha256=mOeW9LegkaSlYefyyxVUGrNgSGiWcbEqGFd3lyyCzjQ,23678
7
7
  lghorizon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- lghorizon-0.6.5.dist-info/LICENSE,sha256=6Dh2tur1gMX3r3rITjVwUONBEJxyyPZDY8p6DZXtimE,1059
9
- lghorizon-0.6.5.dist-info/METADATA,sha256=pZKiiCZE_z4Pn8Z8aWu3jKGAO8Q2i8jcTzJIQI-eC4c,1038
10
- lghorizon-0.6.5.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
11
- lghorizon-0.6.5.dist-info/top_level.txt,sha256=usii76_AxGfPI6gjrrh-NyZxcQQuF1B8_Q9kd7sID8Q,10
12
- lghorizon-0.6.5.dist-info/RECORD,,
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,,