switch update notification

This commit is contained in:
Maxim Devaev
2025-01-11 22:20:56 +02:00
parent b49107ff6c
commit 965e649f8c
4 changed files with 25 additions and 0 deletions

View File

@@ -49,6 +49,8 @@ class _UnitInfo:
# =====
class StateCache: # pylint: disable=too-many-instance-attributes
__FW_VERSION = 5
__FULL = 0xFFFF
__SUMMARY = 0x01
__EDIDS = 0x02
@@ -139,6 +141,7 @@ class StateCache: # pylint: disable=too-many-instance-attributes
state: dict = {}
if x_model:
state["model"] = {
"firmware": {"version": self.__FW_VERSION},
"units": [],
"ports": [],
"limits": {