lghorizon 0.7.3b3__tar.gz → 0.7.3b4__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.7.3b3 → lghorizon-0.7.3b4}/PKG-INFO +1 -1
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lghorizon/lghorizon_api.py +3 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lghorizon/models.py +3 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lghorizon.egg-info/PKG-INFO +1 -1
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/.coverage +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/.flake8 +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/.github/workflows/build-on-pr.yml +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/.github/workflows/publish-to-pypi.yml +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/.gitignore +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/LICENSE +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/README.md +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/instructions.txt +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lghorizon/__init__.py +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lghorizon/const.py +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lghorizon/exceptions.py +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lghorizon/helpers.py +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lghorizon/py.typed +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lghorizon.egg-info/SOURCES.txt +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lghorizon.egg-info/dependency_links.txt +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lghorizon.egg-info/not-zip-safe +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lghorizon.egg-info/requires.txt +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lghorizon.egg-info/top_level.txt +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/lib64 +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/pyvenv.cfg +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/renovate.json +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/secrets_stub.json +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/setup.cfg +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/setup.py +0 -0
- {lghorizon-0.7.3b3 → lghorizon-0.7.3b4}/test.py +0 -0
|
@@ -281,6 +281,9 @@ class LGHorizonApi:
|
|
|
281
281
|
self._update_customer()
|
|
282
282
|
self._channels.clear()
|
|
283
283
|
self._get_channels()
|
|
284
|
+
box: LGHorizonBox
|
|
285
|
+
for box in self.settop_boxes.values():
|
|
286
|
+
box.update_channels(self._channels)
|
|
284
287
|
elif "source" in message:
|
|
285
288
|
deviceId = message["source"]
|
|
286
289
|
if not isinstance(deviceId, str):
|
|
@@ -438,6 +438,9 @@ class LGHorizonBox:
|
|
|
438
438
|
self.manufacturer = platform_type["manufacturer"]
|
|
439
439
|
self.model = platform_type["model"]
|
|
440
440
|
|
|
441
|
+
def update_channels(self, channels: Dict[str, LGHorizonChannel]):
|
|
442
|
+
self._channels = channels
|
|
443
|
+
|
|
441
444
|
def register_mqtt(self) -> None:
|
|
442
445
|
if not self._mqtt_client.is_connected:
|
|
443
446
|
raise Exception("MQTT client not connected.")
|
|
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
|
|
File without changes
|