|
26 | 26 | from chip.clusters.Attribute import AttributePath, TypedAttributePath
|
27 | 27 | from chip.clusters.enum import MatterIntEnum
|
28 | 28 | from chip.clusters.ClusterObjects import ClusterObject
|
29 |
| -from chip.clusters.Objects import Thermostat |
| 29 | + |
30 | 30 | from chip.interaction_model import Status
|
31 | 31 | from basic_composition_support import BasicCompositionTests
|
32 | 32 | import global_attribute_ids
|
@@ -114,34 +114,32 @@ async def test_TC_IDM_2_2(self):
|
114 | 114 | attribute_list = Clusters.Objects.Descriptor.Attributes.AttributeList
|
115 | 115 | attribute_list_path = [0, attribute_list]
|
116 | 116 | self.all_supported_clusters = [cluster for cluster in Clusters.__dict__.values() if inspect.isclass(cluster) and issubclass(cluster, ClusterObjects.Cluster)]
|
117 |
| - # For bool test |
118 |
| - boolean_state = Clusters.Objects.BooleanState |
119 | 117 |
|
120 |
| - # For str test |
121 |
| - power_source = Clusters.Objects.PowerSource |
| 118 | + # # For str test |
| 119 | + # power_source = Clusters.Objects.PowerSource |
122 | 120 |
|
123 |
| - # For uint test |
124 |
| - microwave_oven_mode = Clusters.Objects.MicrowaveOvenMode |
| 121 | + # # For uint test |
| 122 | + # microwave_oven_mode = Clusters.Objects.MicrowaveOvenMode |
125 | 123 |
|
126 |
| - # For int test |
127 |
| - device_energy_mgmt = Clusters.Objects.DeviceEnergyManagement |
| 124 | + # # For int test |
| 125 | + # device_energy_mgmt = Clusters.Objects.DeviceEnergyManagement |
128 | 126 |
|
129 |
| - # For float test |
130 |
| - unit_testing = Clusters.Objects.UnitTesting |
| 127 | + # # For float test |
| 128 | + # unit_testing = Clusters.Objects.UnitTesting |
131 | 129 |
|
132 |
| - # For list test |
133 |
| - energy_evse_mode = Clusters.Objects.EnergyEvseMode |
| 130 | + # # For list test |
| 131 | + # energy_evse_mode = Clusters.Objects.EnergyEvseMode |
134 | 132 |
|
135 |
| - # For bitmap test |
136 |
| - occupancy_sensing = Clusters.Objects.OccupancySensing |
| 133 | + # # For bitmap test |
| 134 | + # occupancy_sensing = Clusters.Objects.OccupancySensing |
137 | 135 |
|
138 | 136 | self.print_step(0, "Commissioning - already done")
|
139 | 137 |
|
140 | 138 | wildcard_descriptor = await self.default_controller.ReadAttribute(self.dut_node_id, [(Clusters.Descriptor)])
|
141 | 139 | endpoints = list(wildcard_descriptor.keys())
|
142 | 140 |
|
143 | 141 | endpoints.sort()
|
144 |
| - non_existent_endpoint = next(i for i, e in enumerate(endpoints + [None]) if i != e) |
| 142 | + # non_existent_endpoint = next(i for i, e in enumerate(endpoints + [None]) if i != e) |
145 | 143 |
|
146 | 144 | # Step 1
|
147 | 145 |
|
|
0 commit comments