matter-python-client 0.5.9__tar.gz → 0.5.11__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.
Files changed (31) hide show
  1. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/PKG-INFO +1 -1
  2. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_python_client.egg-info/PKG-INFO +1 -1
  3. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/common/custom_clusters.py +26 -0
  4. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/pyproject.toml +1 -1
  5. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/README.md +0 -0
  6. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_python_client.egg-info/SOURCES.txt +0 -0
  7. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_python_client.egg-info/dependency_links.txt +0 -0
  8. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_python_client.egg-info/not-zip-safe +0 -0
  9. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_python_client.egg-info/requires.txt +0 -0
  10. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_python_client.egg-info/top_level.txt +0 -0
  11. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/__init__.py +0 -0
  12. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/client/__init__.py +0 -0
  13. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/client/client.py +0 -0
  14. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/client/connection.py +0 -0
  15. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/client/exceptions.py +0 -0
  16. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/client/models/__init__.py +0 -0
  17. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/client/models/device_types.py +0 -0
  18. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/client/models/node.py +0 -0
  19. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/common/__init__.py +0 -0
  20. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/common/const.py +0 -0
  21. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/common/errors.py +0 -0
  22. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/common/helpers/__init__.py +0 -0
  23. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/common/helpers/api.py +0 -0
  24. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/common/helpers/json.py +0 -0
  25. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/common/helpers/util.py +0 -0
  26. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/common/models.py +0 -0
  27. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/matter_server/py.typed +0 -0
  28. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/setup.cfg +0 -0
  29. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/tests/test_client_integration.py +0 -0
  30. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/tests/test_imports.py +0 -0
  31. {matter_python_client-0.5.9 → matter_python_client-0.5.11}/tests/test_integration.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matter-python-client
3
- Version: 0.5.9
3
+ Version: 0.5.11
4
4
  Summary: Python Client for the OHF Matter Server
5
5
  Author-email: Open Home Foundation <hello@openhomefoundation.io>
6
6
  License-Expression: Apache-2.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matter-python-client
3
- Version: 0.5.9
3
+ Version: 0.5.11
4
4
  Summary: Python Client for the OHF Matter Server
5
5
  Author-email: Open Home Foundation <hello@openhomefoundation.io>
6
6
  License-Expression: Apache-2.0
@@ -7,6 +7,7 @@ from chip import ChipUtility
7
7
  from chip.clusters.ClusterObjects import (
8
8
  Cluster,
9
9
  ClusterAttributeDescriptor,
10
+ ClusterCommand,
10
11
  ClusterObjectDescriptor,
11
12
  ClusterObjectFieldDescriptor,
12
13
  )
@@ -986,6 +987,31 @@ class HeimanCluster(Cluster, CustomClusterMixin):
986
987
 
987
988
  value: uint = 0
988
989
 
990
+ class Commands:
991
+ """Commands for the Heiman Cluster."""
992
+
993
+ @dataclass
994
+ class MutingSensor(ClusterCommand):
995
+ """Command for muting sensor for a specific period if there is an alarm."""
996
+
997
+ cluster_id: ClassVar[int] = 0x120BFC01
998
+ command_id: ClassVar[int] = 0x00
999
+ is_client: ClassVar[bool] = True
1000
+ response_type: ClassVar[str | None] = None
1001
+
1002
+ @ChipUtility.classproperty
1003
+ def descriptor(cls) -> ClusterObjectDescriptor:
1004
+ """Return descriptor for this command."""
1005
+ return ClusterObjectDescriptor(
1006
+ Fields=[
1007
+ ClusterObjectFieldDescriptor(
1008
+ Label="mutingTime", Tag=0, Type=uint
1009
+ ),
1010
+ ]
1011
+ )
1012
+
1013
+ mutingTime: uint = 0
1014
+
989
1015
 
990
1016
  @dataclass
991
1017
  class ThirdRealityMeteringCluster(Cluster, CustomClusterMixin):
@@ -25,7 +25,7 @@ license = "Apache-2.0"
25
25
  name = "matter-python-client"
26
26
  readme = "README.md"
27
27
  requires-python = ">=3.12"
28
- version = "0.5.9"
28
+ version = "0.5.11"
29
29
 
30
30
  [project.urls]
31
31
  Homepage = "https://github.com/matter-js/matterjs-server"