matter-python-client 0.6.7__py3-none-any.whl → 0.7.0__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.
Files changed (45) hide show
  1. chip/clusters/Objects.py +19 -0
  2. chip/clusters/cluster_defs/BasicInformation.py +12 -12
  3. chip/clusters/cluster_defs/BridgedDeviceBasicInformation.py +12 -12
  4. chip/clusters/cluster_defs/CameraAvSettingsUserLevelManagement.py +509 -0
  5. chip/clusters/cluster_defs/CameraAvStreamManagement.py +1409 -0
  6. chip/clusters/cluster_defs/Chime.py +240 -0
  7. chip/clusters/cluster_defs/ClosureControl.py +478 -0
  8. chip/clusters/cluster_defs/ClosureDimension.py +544 -0
  9. chip/clusters/cluster_defs/ColorControl.py +4 -4
  10. chip/clusters/cluster_defs/CommodityMetering.py +222 -0
  11. chip/clusters/cluster_defs/CommodityPrice.py +340 -0
  12. chip/clusters/cluster_defs/CommodityTariff.py +794 -0
  13. chip/clusters/cluster_defs/DoorLock.py +0 -308
  14. chip/clusters/cluster_defs/ElectricalEnergyMeasurement.py +6 -0
  15. chip/clusters/cluster_defs/ElectricalGridConditions.py +246 -0
  16. chip/clusters/cluster_defs/EveCluster.py +18 -0
  17. chip/clusters/cluster_defs/GeneralCommissioning.py +65 -0
  18. chip/clusters/cluster_defs/Globals.py +94 -12
  19. chip/clusters/cluster_defs/GroupKeyManagement.py +2 -0
  20. chip/clusters/cluster_defs/JointFabricDatastore.py +2 -2
  21. chip/clusters/cluster_defs/MeterIdentification.py +241 -0
  22. chip/clusters/cluster_defs/OvenMode.py +4 -1
  23. chip/clusters/cluster_defs/PowerTopology.py +18 -0
  24. chip/clusters/cluster_defs/PushAvStreamTransport.py +618 -0
  25. chip/clusters/cluster_defs/RvcCleanMode.py +1 -0
  26. chip/clusters/cluster_defs/RvcRunMode.py +1 -0
  27. chip/clusters/cluster_defs/SoilMeasurement.py +172 -0
  28. chip/clusters/cluster_defs/TclDehumidifierCluster.py +261 -0
  29. chip/clusters/cluster_defs/Thermostat.py +32 -200
  30. chip/clusters/cluster_defs/TlsCertificateManagement.py +493 -0
  31. chip/clusters/cluster_defs/TlsClientManagement.py +297 -0
  32. chip/clusters/cluster_defs/WebRtcTransportDefinitions.py +100 -0
  33. chip/clusters/cluster_defs/WebRtcTransportProvider.py +344 -0
  34. chip/clusters/cluster_defs/WebRtcTransportRequestor.py +231 -0
  35. chip/clusters/cluster_defs/WindowCovering.py +0 -267
  36. chip/clusters/cluster_defs/ZoneManagement.py +524 -0
  37. chip/clusters/cluster_defs/__init__.py +38 -0
  38. {matter_python_client-0.6.7.dist-info → matter_python_client-0.7.0.dist-info}/METADATA +1 -1
  39. {matter_python_client-0.6.7.dist-info → matter_python_client-0.7.0.dist-info}/RECORD +45 -26
  40. matter_server/client/client.py +30 -1
  41. matter_server/client/models/device_types.py +193 -2
  42. matter_server/common/custom_clusters.py +3 -0
  43. matter_server/common/models.py +37 -1
  44. {matter_python_client-0.6.7.dist-info → matter_python_client-0.7.0.dist-info}/WHEEL +0 -0
  45. {matter_python_client-0.6.7.dist-info → matter_python_client-0.7.0.dist-info}/top_level.txt +0 -0
chip/clusters/Objects.py CHANGED
@@ -47,11 +47,19 @@ __all__ = [
47
47
  "BooleanState",
48
48
  "BooleanStateConfiguration",
49
49
  "BridgedDeviceBasicInformation",
50
+ "CameraAvSettingsUserLevelManagement",
51
+ "CameraAvStreamManagement",
50
52
  "CarbonDioxideConcentrationMeasurement",
51
53
  "CarbonMonoxideConcentrationMeasurement",
52
54
  "Channel",
55
+ "Chime",
56
+ "ClosureControl",
57
+ "ClosureDimension",
53
58
  "ColorControl",
54
59
  "CommissionerControl",
60
+ "CommodityMetering",
61
+ "CommodityPrice",
62
+ "CommodityTariff",
55
63
  "ContentAppObserver",
56
64
  "ContentControl",
57
65
  "ContentLauncher",
@@ -65,6 +73,7 @@ __all__ = [
65
73
  "DraftElectricalMeasurementCluster",
66
74
  "EcosystemInformation",
67
75
  "ElectricalEnergyMeasurement",
76
+ "ElectricalGridConditions",
68
77
  "ElectricalPowerMeasurement",
69
78
  "EnergyEvse",
70
79
  "EnergyEvseMode",
@@ -97,6 +106,7 @@ __all__ = [
97
106
  "MediaInput",
98
107
  "MediaPlayback",
99
108
  "Messages",
109
+ "MeterIdentification",
100
110
  "MicrowaveOvenControl",
101
111
  "MicrowaveOvenMode",
102
112
  "ModeSelect",
@@ -120,6 +130,7 @@ __all__ = [
120
130
  "PowerTopology",
121
131
  "PressureMeasurement",
122
132
  "PumpConfigurationAndControl",
133
+ "PushAvStreamTransport",
123
134
  "RadonConcentrationMeasurement",
124
135
  "RefrigeratorAlarm",
125
136
  "RefrigeratorAndTemperatureControlledCabinetMode",
@@ -131,8 +142,10 @@ __all__ = [
131
142
  "ServiceArea",
132
143
  "SmokeCoAlarm",
133
144
  "SoftwareDiagnostics",
145
+ "SoilMeasurement",
134
146
  "Switch",
135
147
  "TargetNavigator",
148
+ "TclDehumidifierCluster",
136
149
  "TemperatureControl",
137
150
  "TemperatureMeasurement",
138
151
  "Thermostat",
@@ -143,6 +156,8 @@ __all__ = [
143
156
  "ThreadNetworkDirectory",
144
157
  "TimeFormatLocalization",
145
158
  "TimeSynchronization",
159
+ "TlsCertificateManagement",
160
+ "TlsClientManagement",
146
161
  "TotalVolatileOrganicCompoundsConcentrationMeasurement",
147
162
  "UnitLocalization",
148
163
  "UserLabel",
@@ -151,7 +166,11 @@ __all__ = [
151
166
  "WaterHeaterManagement",
152
167
  "WaterHeaterMode",
153
168
  "WaterTankLevelMonitoring",
169
+ "WebRtcTransportDefinitions",
170
+ "WebRtcTransportProvider",
171
+ "WebRtcTransportRequestor",
154
172
  "WiFiNetworkDiagnostics",
155
173
  "WiFiNetworkManagement",
156
174
  "WindowCovering",
175
+ "ZoneManagement",
157
176
  ]
@@ -40,11 +40,11 @@ class BasicInformation(Cluster):
40
40
  ClusterObjectFieldDescriptor(Label="serialNumber", Tag=0x0000000F, Type=typing.Optional[str]),
41
41
  ClusterObjectFieldDescriptor(Label="localConfigDisabled", Tag=0x00000010, Type=typing.Optional[bool]),
42
42
  ClusterObjectFieldDescriptor(Label="reachable", Tag=0x00000011, Type=typing.Optional[bool]),
43
- ClusterObjectFieldDescriptor(Label="uniqueID", Tag=0x00000012, Type=str),
43
+ ClusterObjectFieldDescriptor(Label="uniqueID", Tag=0x00000012, Type=typing.Optional[str]),
44
44
  ClusterObjectFieldDescriptor(Label="capabilityMinima", Tag=0x00000013, Type=BasicInformation.Structs.CapabilityMinimaStruct),
45
45
  ClusterObjectFieldDescriptor(Label="productAppearance", Tag=0x00000014, Type=typing.Optional[BasicInformation.Structs.ProductAppearanceStruct]),
46
- ClusterObjectFieldDescriptor(Label="specificationVersion", Tag=0x00000015, Type=uint),
47
- ClusterObjectFieldDescriptor(Label="maxPathsPerInvoke", Tag=0x00000016, Type=uint),
46
+ ClusterObjectFieldDescriptor(Label="specificationVersion", Tag=0x00000015, Type=typing.Optional[uint]),
47
+ ClusterObjectFieldDescriptor(Label="maxPathsPerInvoke", Tag=0x00000016, Type=typing.Optional[uint]),
48
48
  ClusterObjectFieldDescriptor(Label="configurationVersion", Tag=0x00000018, Type=typing.Optional[uint]),
49
49
  ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
50
50
  ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
@@ -72,11 +72,11 @@ class BasicInformation(Cluster):
72
72
  serialNumber: typing.Optional[str] = None
73
73
  localConfigDisabled: typing.Optional[bool] = None
74
74
  reachable: typing.Optional[bool] = None
75
- uniqueID: str = ""
75
+ uniqueID: typing.Optional[str] = None
76
76
  capabilityMinima: BasicInformation.Structs.CapabilityMinimaStruct = field(default_factory=lambda: BasicInformation.Structs.CapabilityMinimaStruct())
77
77
  productAppearance: typing.Optional[BasicInformation.Structs.ProductAppearanceStruct] = None
78
- specificationVersion: uint = 0
79
- maxPathsPerInvoke: uint = 0
78
+ specificationVersion: typing.Optional[uint] = None
79
+ maxPathsPerInvoke: typing.Optional[uint] = None
80
80
  configurationVersion: typing.Optional[uint] = None
81
81
  generatedCommandList: typing.List[uint] = field(default_factory=lambda: [])
82
82
  acceptedCommandList: typing.List[uint] = field(default_factory=lambda: [])
@@ -455,9 +455,9 @@ class BasicInformation(Cluster):
455
455
 
456
456
  @ChipUtility.classproperty
457
457
  def attribute_type(cls) -> ClusterObjectFieldDescriptor:
458
- return ClusterObjectFieldDescriptor(Type=str)
458
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
459
459
 
460
- value: str = ""
460
+ value: typing.Optional[str] = None
461
461
 
462
462
  @dataclass
463
463
  class CapabilityMinima(ClusterAttributeDescriptor):
@@ -503,9 +503,9 @@ class BasicInformation(Cluster):
503
503
 
504
504
  @ChipUtility.classproperty
505
505
  def attribute_type(cls) -> ClusterObjectFieldDescriptor:
506
- return ClusterObjectFieldDescriptor(Type=uint)
506
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
507
507
 
508
- value: uint = 0
508
+ value: typing.Optional[uint] = None
509
509
 
510
510
  @dataclass
511
511
  class MaxPathsPerInvoke(ClusterAttributeDescriptor):
@@ -519,9 +519,9 @@ class BasicInformation(Cluster):
519
519
 
520
520
  @ChipUtility.classproperty
521
521
  def attribute_type(cls) -> ClusterObjectFieldDescriptor:
522
- return ClusterObjectFieldDescriptor(Type=uint)
522
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
523
523
 
524
- value: uint = 0
524
+ value: typing.Optional[uint] = None
525
525
 
526
526
  @dataclass
527
527
  class ConfigurationVersion(ClusterAttributeDescriptor):
@@ -40,11 +40,11 @@ class BridgedDeviceBasicInformation(Cluster):
40
40
  ClusterObjectFieldDescriptor(Label="serialNumber", Tag=0x0000000F, Type=typing.Optional[str]),
41
41
  ClusterObjectFieldDescriptor(Label="localConfigDisabled", Tag=0x00000010, Type=typing.Optional[bool]),
42
42
  ClusterObjectFieldDescriptor(Label="reachable", Tag=0x00000011, Type=typing.Optional[bool]),
43
- ClusterObjectFieldDescriptor(Label="uniqueID", Tag=0x00000012, Type=str),
43
+ ClusterObjectFieldDescriptor(Label="uniqueID", Tag=0x00000012, Type=typing.Optional[str]),
44
44
  ClusterObjectFieldDescriptor(Label="capabilityMinima", Tag=0x00000013, Type=BridgedDeviceBasicInformation.Structs.CapabilityMinimaStruct),
45
45
  ClusterObjectFieldDescriptor(Label="productAppearance", Tag=0x00000014, Type=typing.Optional[BridgedDeviceBasicInformation.Structs.ProductAppearanceStruct]),
46
- ClusterObjectFieldDescriptor(Label="specificationVersion", Tag=0x00000015, Type=uint),
47
- ClusterObjectFieldDescriptor(Label="maxPathsPerInvoke", Tag=0x00000016, Type=uint),
46
+ ClusterObjectFieldDescriptor(Label="specificationVersion", Tag=0x00000015, Type=typing.Optional[uint]),
47
+ ClusterObjectFieldDescriptor(Label="maxPathsPerInvoke", Tag=0x00000016, Type=typing.Optional[uint]),
48
48
  ClusterObjectFieldDescriptor(Label="configurationVersion", Tag=0x00000018, Type=typing.Optional[uint]),
49
49
  ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
50
50
  ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
@@ -72,11 +72,11 @@ class BridgedDeviceBasicInformation(Cluster):
72
72
  serialNumber: typing.Optional[str] = None
73
73
  localConfigDisabled: typing.Optional[bool] = None
74
74
  reachable: typing.Optional[bool] = None
75
- uniqueID: str = ""
75
+ uniqueID: typing.Optional[str] = None
76
76
  capabilityMinima: BridgedDeviceBasicInformation.Structs.CapabilityMinimaStruct = field(default_factory=lambda: BridgedDeviceBasicInformation.Structs.CapabilityMinimaStruct())
77
77
  productAppearance: typing.Optional[BridgedDeviceBasicInformation.Structs.ProductAppearanceStruct] = None
78
- specificationVersion: uint = 0
79
- maxPathsPerInvoke: uint = 0
78
+ specificationVersion: typing.Optional[uint] = None
79
+ maxPathsPerInvoke: typing.Optional[uint] = None
80
80
  configurationVersion: typing.Optional[uint] = None
81
81
  generatedCommandList: typing.List[uint] = field(default_factory=lambda: [])
82
82
  acceptedCommandList: typing.List[uint] = field(default_factory=lambda: [])
@@ -478,9 +478,9 @@ class BridgedDeviceBasicInformation(Cluster):
478
478
 
479
479
  @ChipUtility.classproperty
480
480
  def attribute_type(cls) -> ClusterObjectFieldDescriptor:
481
- return ClusterObjectFieldDescriptor(Type=str)
481
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
482
482
 
483
- value: str = ""
483
+ value: typing.Optional[str] = None
484
484
 
485
485
  @dataclass
486
486
  class CapabilityMinima(ClusterAttributeDescriptor):
@@ -526,9 +526,9 @@ class BridgedDeviceBasicInformation(Cluster):
526
526
 
527
527
  @ChipUtility.classproperty
528
528
  def attribute_type(cls) -> ClusterObjectFieldDescriptor:
529
- return ClusterObjectFieldDescriptor(Type=uint)
529
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
530
530
 
531
- value: uint = 0
531
+ value: typing.Optional[uint] = None
532
532
 
533
533
  @dataclass
534
534
  class MaxPathsPerInvoke(ClusterAttributeDescriptor):
@@ -542,9 +542,9 @@ class BridgedDeviceBasicInformation(Cluster):
542
542
 
543
543
  @ChipUtility.classproperty
544
544
  def attribute_type(cls) -> ClusterObjectFieldDescriptor:
545
- return ClusterObjectFieldDescriptor(Type=uint)
545
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
546
546
 
547
- value: uint = 0
547
+ value: typing.Optional[uint] = None
548
548
 
549
549
  @dataclass
550
550
  class ConfigurationVersion(ClusterAttributeDescriptor):