lghorizon 0.8.5__tar.gz → 0.8.6__tar.gz
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-0.8.5 → lghorizon-0.8.6}/.github/workflows/build-on-pr.yml +1 -1
- {lghorizon-0.8.5 → lghorizon-0.8.6}/.github/workflows/publish-to-pypi.yml +1 -1
- {lghorizon-0.8.5 → lghorizon-0.8.6}/PKG-INFO +3 -2
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lghorizon/models.py +8 -5
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lghorizon.egg-info/PKG-INFO +3 -2
- {lghorizon-0.8.5 → lghorizon-0.8.6}/.coverage +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/.flake8 +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/.gitignore +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/LICENSE +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/README.md +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/instructions.txt +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lghorizon/__init__.py +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lghorizon/const.py +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lghorizon/exceptions.py +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lghorizon/helpers.py +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lghorizon/lghorizon_api.py +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lghorizon/py.typed +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lghorizon.egg-info/SOURCES.txt +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lghorizon.egg-info/dependency_links.txt +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lghorizon.egg-info/not-zip-safe +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lghorizon.egg-info/requires.txt +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lghorizon.egg-info/top_level.txt +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/lib64 +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/pyvenv.cfg +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/renovate.json +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/secrets_stub.json +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/setup.cfg +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/setup.py +0 -0
- {lghorizon-0.8.5 → lghorizon-0.8.6}/test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: lghorizon
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.6
|
|
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
|
|
@@ -31,6 +31,7 @@ Dynamic: description-content-type
|
|
|
31
31
|
Dynamic: home-page
|
|
32
32
|
Dynamic: keywords
|
|
33
33
|
Dynamic: license
|
|
34
|
+
Dynamic: license-file
|
|
34
35
|
Dynamic: requires-dist
|
|
35
36
|
Dynamic: requires-python
|
|
36
37
|
Dynamic: summary
|
|
@@ -685,11 +685,14 @@ class LGHorizonBox:
|
|
|
685
685
|
|
|
686
686
|
def send_key_to_box(self, key: str) -> None:
|
|
687
687
|
"""Send emulated (remote) key press to settopbox."""
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
688
|
+
payload_dict = {
|
|
689
|
+
"type": "CPE.KeyEvent",
|
|
690
|
+
"runtimeType": "key",
|
|
691
|
+
"id": "ha",
|
|
692
|
+
"source": self.device_id.lower(),
|
|
693
|
+
"status": {"w3cKey": key, "eventType": "keyDownUp"},
|
|
694
|
+
}
|
|
695
|
+
payload = json.dumps(payload_dict)
|
|
693
696
|
self._mqtt_client.publish_message(
|
|
694
697
|
f"{self._auth.household_id}/{self.device_id}", payload
|
|
695
698
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: lghorizon
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.6
|
|
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
|
|
@@ -31,6 +31,7 @@ Dynamic: description-content-type
|
|
|
31
31
|
Dynamic: home-page
|
|
32
32
|
Dynamic: keywords
|
|
33
33
|
Dynamic: license
|
|
34
|
+
Dynamic: license-file
|
|
34
35
|
Dynamic: requires-dist
|
|
35
36
|
Dynamic: requires-python
|
|
36
37
|
Dynamic: summary
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|