From 14f126986ea17fd8dd5d1481d6bd4d954401c0b2 Mon Sep 17 00:00:00 2001 From: cecille Date: Tue, 17 Oct 2023 14:44:54 -0400 Subject: [PATCH] Add data model XMLs and script Data model XMLs are scraped from the spec using the data model tools scraper and the provided script. The SHA of the spec used as the source is stored in the spec_sha file. Data types are not yet included in this script or added in the repo. --- data_model/clusters/ACL-Cluster.xml | 224 ++ data_model/clusters/AccountLogin.xml | 98 + ...ingFlows-BasicCommissioningMethod(BCM).xml | 58 + ...Flows-EnhancedCommissioningMethod(ECM).xml | 58 + ...ssistedCommissioningFlows-Introduction.xml | 58 + ...issioningFlows-OpenCommissioningWindow.xml | 58 + .../clusters/AdminCommissioningCluster.xml | 140 + data_model/clusters/AirQuality.xml | 117 + data_model/clusters/AlarmBase.xml | 129 + data_model/clusters/ApplicationBasic.xml | 134 + data_model/clusters/ApplicationLauncher.xml | 158 ++ data_model/clusters/AudioOutput.xml | 136 + data_model/clusters/BallastConfiguration.xml | 157 ++ .../clusters/BasicInformationCluster.xml | 318 +++ data_model/clusters/Binding-Cluster.xml | 97 + data_model/clusters/BooleanState.xml | 79 + data_model/clusters/BulkDataExchange.xml | 58 + data_model/clusters/Channel.xml | 193 ++ data_model/clusters/ColorControl.xml | 1023 ++++++++ data_model/clusters/CommissioningFlows.xml | 58 + .../clusters/ConcentrationMeasurement.xml | 252 ++ data_model/clusters/ContentLauncher.xml | 297 +++ data_model/clusters/Descriptor-Cluster.xml | 111 + .../clusters/DeviceCommissioningFlows.xml | 58 + data_model/clusters/DiagnosticLogsCluster.xml | 136 + data_model/clusters/DiagnosticsEthernet.xml | 173 ++ data_model/clusters/DiagnosticsGeneral.xml | 319 +++ data_model/clusters/DiagnosticsSoftware.xml | 136 + data_model/clusters/DiagnosticsThread.xml | 691 +++++ data_model/clusters/DiagnosticsWiFi.xml | 257 ++ data_model/clusters/DishwasherAlarm.xml | 100 + .../clusters/DistributedComplianceLedger.xml | 58 + data_model/clusters/DoorLock.xml | 2296 +++++++++++++++++ data_model/clusters/FanControl.xml | 296 +++ data_model/clusters/FlowMeasurement.xml | 90 + .../clusters/GeneralCommissioningCluster.xml | 131 + .../clusters/Group-Key-Management-Cluster.xml | 232 ++ data_model/clusters/Groups.xml | 196 ++ data_model/clusters/Identify.xml | 170 ++ .../clusters/IlluminanceMeasurement.xml | 109 + data_model/clusters/KeypadInput.xml | 103 + .../clusters/Label-Cluster-FixedLabel.xml | 71 + data_model/clusters/Label-Cluster-Label.xml | 82 + .../clusters/Label-Cluster-UserLabel.xml | 72 + data_model/clusters/LaundryWasherControls.xml | 129 + data_model/clusters/LevelControl.xml | 305 +++ .../clusters/LocalizationConfiguration.xml | 76 + .../clusters/LocalizationTimeFormat.xml | 138 + data_model/clusters/LocalizationUnit.xml | 90 + data_model/clusters/LowPower.xml | 69 + data_model/clusters/MediaInput.xml | 162 ++ data_model/clusters/MediaPlayback.xml | 248 ++ data_model/clusters/ModeBase.xml | 158 ++ data_model/clusters/ModeSelect.xml | 150 ++ data_model/clusters/Mode_Dishwasher.xml | 91 + data_model/clusters/Mode_LaundryWasher.xml | 91 + data_model/clusters/Mode_RVCClean.xml | 77 + data_model/clusters/Mode_RVCRun.xml | 78 + data_model/clusters/Mode_Refrigerator.xml | 91 + .../clusters/NetworkCommissioningCluster.xml | 471 ++++ data_model/clusters/OTAFileFormat.xml | 58 + data_model/clusters/OTASoftwareUpdate.xml | 60 + data_model/clusters/OccupancySensing.xml | 181 ++ data_model/clusters/OnOff.xml | 233 ++ .../clusters/OperationalCredentialCluster.xml | 320 +++ data_model/clusters/OperationalState.xml | 223 ++ data_model/clusters/OperationalState_RVC.xml | 102 + data_model/clusters/PowerSourceCluster.xml | 810 ++++++ .../PowerSourceConfigurationCluster.xml | 71 + data_model/clusters/PressureMeasurement.xml | 133 + .../clusters/PumpConfigurationControl.xml | 442 ++++ data_model/clusters/RefrigeratorAlarm.xml | 82 + data_model/clusters/ResourceMonitoring.xml | 169 ++ data_model/clusters/Scenes.xml | 504 ++++ data_model/clusters/SmokeCOAlarm.xml | 303 +++ data_model/clusters/Switch.xml | 194 ++ data_model/clusters/TargetNavigator.xml | 118 + data_model/clusters/TemperatureControl.xml | 95 + .../clusters/TemperatureMeasurement.xml | 91 + data_model/clusters/Thermostat.xml | 900 +++++++ .../ThermostatUserInterfaceConfiguration.xml | 119 + data_model/clusters/TimeSync.xml | 200 ++ .../clusters/VideoPlayerArchitecture.xml | 58 + data_model/clusters/WakeOnLAN.xml | 77 + .../clusters/WaterContentMeasurement.xml | 90 + data_model/clusters/WindowCovering.xml | 694 +++++ data_model/clusters/appliances.xml | 62 + .../clusters/bridge-clusters-Actions.xml | 378 +++ ...clusters-BridgedDeviceBasicInformation.xml | 147 ++ data_model/clusters/closures.xml | 62 + data_model/clusters/general.xml | 62 + data_model/clusters/hvac.xml | 62 + data_model/clusters/lighting.xml | 62 + data_model/clusters/meas_and_sense.xml | 62 + data_model/clusters/media.xml | 58 + data_model/clusters/robots.xml | 62 + data_model/spec_sha | 1 + scripts/spec_xml/generate_spec_xml.py | 91 + 98 files changed, 19647 insertions(+) create mode 100644 data_model/clusters/ACL-Cluster.xml create mode 100644 data_model/clusters/AccountLogin.xml create mode 100644 data_model/clusters/AdminAssistedCommissioningFlows-BasicCommissioningMethod(BCM).xml create mode 100644 data_model/clusters/AdminAssistedCommissioningFlows-EnhancedCommissioningMethod(ECM).xml create mode 100644 data_model/clusters/AdminAssistedCommissioningFlows-Introduction.xml create mode 100644 data_model/clusters/AdminAssistedCommissioningFlows-OpenCommissioningWindow.xml create mode 100644 data_model/clusters/AdminCommissioningCluster.xml create mode 100644 data_model/clusters/AirQuality.xml create mode 100644 data_model/clusters/AlarmBase.xml create mode 100644 data_model/clusters/ApplicationBasic.xml create mode 100644 data_model/clusters/ApplicationLauncher.xml create mode 100644 data_model/clusters/AudioOutput.xml create mode 100644 data_model/clusters/BallastConfiguration.xml create mode 100644 data_model/clusters/BasicInformationCluster.xml create mode 100644 data_model/clusters/Binding-Cluster.xml create mode 100644 data_model/clusters/BooleanState.xml create mode 100644 data_model/clusters/BulkDataExchange.xml create mode 100644 data_model/clusters/Channel.xml create mode 100644 data_model/clusters/ColorControl.xml create mode 100644 data_model/clusters/CommissioningFlows.xml create mode 100644 data_model/clusters/ConcentrationMeasurement.xml create mode 100644 data_model/clusters/ContentLauncher.xml create mode 100644 data_model/clusters/Descriptor-Cluster.xml create mode 100644 data_model/clusters/DeviceCommissioningFlows.xml create mode 100644 data_model/clusters/DiagnosticLogsCluster.xml create mode 100644 data_model/clusters/DiagnosticsEthernet.xml create mode 100644 data_model/clusters/DiagnosticsGeneral.xml create mode 100644 data_model/clusters/DiagnosticsSoftware.xml create mode 100644 data_model/clusters/DiagnosticsThread.xml create mode 100644 data_model/clusters/DiagnosticsWiFi.xml create mode 100644 data_model/clusters/DishwasherAlarm.xml create mode 100644 data_model/clusters/DistributedComplianceLedger.xml create mode 100644 data_model/clusters/DoorLock.xml create mode 100644 data_model/clusters/FanControl.xml create mode 100644 data_model/clusters/FlowMeasurement.xml create mode 100644 data_model/clusters/GeneralCommissioningCluster.xml create mode 100644 data_model/clusters/Group-Key-Management-Cluster.xml create mode 100644 data_model/clusters/Groups.xml create mode 100644 data_model/clusters/Identify.xml create mode 100644 data_model/clusters/IlluminanceMeasurement.xml create mode 100644 data_model/clusters/KeypadInput.xml create mode 100644 data_model/clusters/Label-Cluster-FixedLabel.xml create mode 100644 data_model/clusters/Label-Cluster-Label.xml create mode 100644 data_model/clusters/Label-Cluster-UserLabel.xml create mode 100644 data_model/clusters/LaundryWasherControls.xml create mode 100644 data_model/clusters/LevelControl.xml create mode 100644 data_model/clusters/LocalizationConfiguration.xml create mode 100644 data_model/clusters/LocalizationTimeFormat.xml create mode 100644 data_model/clusters/LocalizationUnit.xml create mode 100644 data_model/clusters/LowPower.xml create mode 100644 data_model/clusters/MediaInput.xml create mode 100644 data_model/clusters/MediaPlayback.xml create mode 100644 data_model/clusters/ModeBase.xml create mode 100644 data_model/clusters/ModeSelect.xml create mode 100644 data_model/clusters/Mode_Dishwasher.xml create mode 100644 data_model/clusters/Mode_LaundryWasher.xml create mode 100644 data_model/clusters/Mode_RVCClean.xml create mode 100644 data_model/clusters/Mode_RVCRun.xml create mode 100644 data_model/clusters/Mode_Refrigerator.xml create mode 100644 data_model/clusters/NetworkCommissioningCluster.xml create mode 100644 data_model/clusters/OTAFileFormat.xml create mode 100644 data_model/clusters/OTASoftwareUpdate.xml create mode 100644 data_model/clusters/OccupancySensing.xml create mode 100644 data_model/clusters/OnOff.xml create mode 100644 data_model/clusters/OperationalCredentialCluster.xml create mode 100644 data_model/clusters/OperationalState.xml create mode 100644 data_model/clusters/OperationalState_RVC.xml create mode 100644 data_model/clusters/PowerSourceCluster.xml create mode 100644 data_model/clusters/PowerSourceConfigurationCluster.xml create mode 100644 data_model/clusters/PressureMeasurement.xml create mode 100644 data_model/clusters/PumpConfigurationControl.xml create mode 100644 data_model/clusters/RefrigeratorAlarm.xml create mode 100644 data_model/clusters/ResourceMonitoring.xml create mode 100644 data_model/clusters/Scenes.xml create mode 100644 data_model/clusters/SmokeCOAlarm.xml create mode 100644 data_model/clusters/Switch.xml create mode 100644 data_model/clusters/TargetNavigator.xml create mode 100644 data_model/clusters/TemperatureControl.xml create mode 100644 data_model/clusters/TemperatureMeasurement.xml create mode 100644 data_model/clusters/Thermostat.xml create mode 100644 data_model/clusters/ThermostatUserInterfaceConfiguration.xml create mode 100644 data_model/clusters/TimeSync.xml create mode 100644 data_model/clusters/VideoPlayerArchitecture.xml create mode 100644 data_model/clusters/WakeOnLAN.xml create mode 100644 data_model/clusters/WaterContentMeasurement.xml create mode 100644 data_model/clusters/WindowCovering.xml create mode 100644 data_model/clusters/appliances.xml create mode 100644 data_model/clusters/bridge-clusters-Actions.xml create mode 100644 data_model/clusters/bridge-clusters-BridgedDeviceBasicInformation.xml create mode 100644 data_model/clusters/closures.xml create mode 100644 data_model/clusters/general.xml create mode 100644 data_model/clusters/hvac.xml create mode 100644 data_model/clusters/lighting.xml create mode 100644 data_model/clusters/meas_and_sense.xml create mode 100644 data_model/clusters/media.xml create mode 100644 data_model/clusters/robots.xml create mode 100644 data_model/spec_sha create mode 100755 scripts/spec_xml/generate_spec_xml.py diff --git a/data_model/clusters/ACL-Cluster.xml b/data_model/clusters/ACL-Cluster.xml new file mode 100644 index 00000000000000..2cbcbd01c9a11a --- /dev/null +++ b/data_model/clusters/ACL-Cluster.xml @@ -0,0 +1,224 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/AccountLogin.xml b/data_model/clusters/AccountLogin.xml new file mode 100644 index 00000000000000..e249e0319e4487 --- /dev/null +++ b/data_model/clusters/AccountLogin.xml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/AdminAssistedCommissioningFlows-BasicCommissioningMethod(BCM).xml b/data_model/clusters/AdminAssistedCommissioningFlows-BasicCommissioningMethod(BCM).xml new file mode 100644 index 00000000000000..a278d8c0ef5661 --- /dev/null +++ b/data_model/clusters/AdminAssistedCommissioningFlows-BasicCommissioningMethod(BCM).xml @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/AdminAssistedCommissioningFlows-EnhancedCommissioningMethod(ECM).xml b/data_model/clusters/AdminAssistedCommissioningFlows-EnhancedCommissioningMethod(ECM).xml new file mode 100644 index 00000000000000..846ca54b44330d --- /dev/null +++ b/data_model/clusters/AdminAssistedCommissioningFlows-EnhancedCommissioningMethod(ECM).xml @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/AdminAssistedCommissioningFlows-Introduction.xml b/data_model/clusters/AdminAssistedCommissioningFlows-Introduction.xml new file mode 100644 index 00000000000000..0d4b9deee7b99f --- /dev/null +++ b/data_model/clusters/AdminAssistedCommissioningFlows-Introduction.xml @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/AdminAssistedCommissioningFlows-OpenCommissioningWindow.xml b/data_model/clusters/AdminAssistedCommissioningFlows-OpenCommissioningWindow.xml new file mode 100644 index 00000000000000..dca77e4f1ac8d5 --- /dev/null +++ b/data_model/clusters/AdminAssistedCommissioningFlows-OpenCommissioningWindow.xml @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/AdminCommissioningCluster.xml b/data_model/clusters/AdminCommissioningCluster.xml new file mode 100644 index 00000000000000..b2cffacf87e121 --- /dev/null +++ b/data_model/clusters/AdminCommissioningCluster.xml @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/AirQuality.xml b/data_model/clusters/AirQuality.xml new file mode 100644 index 00000000000000..dcaf38bc586cf5 --- /dev/null +++ b/data_model/clusters/AirQuality.xml @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/AlarmBase.xml b/data_model/clusters/AlarmBase.xml new file mode 100644 index 00000000000000..b169d4fe9be24a --- /dev/null +++ b/data_model/clusters/AlarmBase.xml @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/ApplicationBasic.xml b/data_model/clusters/ApplicationBasic.xml new file mode 100644 index 00000000000000..48ce9673675e1d --- /dev/null +++ b/data_model/clusters/ApplicationBasic.xml @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/ApplicationLauncher.xml b/data_model/clusters/ApplicationLauncher.xml new file mode 100644 index 00000000000000..91ebf6b5937446 --- /dev/null +++ b/data_model/clusters/ApplicationLauncher.xml @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/AudioOutput.xml b/data_model/clusters/AudioOutput.xml new file mode 100644 index 00000000000000..8ace3342ce2132 --- /dev/null +++ b/data_model/clusters/AudioOutput.xml @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/BallastConfiguration.xml b/data_model/clusters/BallastConfiguration.xml new file mode 100644 index 00000000000000..a6d553ddcc6ead --- /dev/null +++ b/data_model/clusters/BallastConfiguration.xml @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/BasicInformationCluster.xml b/data_model/clusters/BasicInformationCluster.xml new file mode 100644 index 00000000000000..6dbeab0f1a60cb --- /dev/null +++ b/data_model/clusters/BasicInformationCluster.xml @@ -0,0 +1,318 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Binding-Cluster.xml b/data_model/clusters/Binding-Cluster.xml new file mode 100644 index 00000000000000..02b2219fcd0331 --- /dev/null +++ b/data_model/clusters/Binding-Cluster.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/BooleanState.xml b/data_model/clusters/BooleanState.xml new file mode 100644 index 00000000000000..5b298075fbaefc --- /dev/null +++ b/data_model/clusters/BooleanState.xml @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/BulkDataExchange.xml b/data_model/clusters/BulkDataExchange.xml new file mode 100644 index 00000000000000..50b368d19f74e4 --- /dev/null +++ b/data_model/clusters/BulkDataExchange.xml @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/Channel.xml b/data_model/clusters/Channel.xml new file mode 100644 index 00000000000000..3227cf9a5a446e --- /dev/null +++ b/data_model/clusters/Channel.xml @@ -0,0 +1,193 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/ColorControl.xml b/data_model/clusters/ColorControl.xml new file mode 100644 index 00000000000000..142e1a58ab7a67 --- /dev/null +++ b/data_model/clusters/ColorControl.xml @@ -0,0 +1,1023 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/CommissioningFlows.xml b/data_model/clusters/CommissioningFlows.xml new file mode 100644 index 00000000000000..29c28ea8bdb8ef --- /dev/null +++ b/data_model/clusters/CommissioningFlows.xml @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/ConcentrationMeasurement.xml b/data_model/clusters/ConcentrationMeasurement.xml new file mode 100644 index 00000000000000..ad239e700eacf9 --- /dev/null +++ b/data_model/clusters/ConcentrationMeasurement.xml @@ -0,0 +1,252 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/ContentLauncher.xml b/data_model/clusters/ContentLauncher.xml new file mode 100644 index 00000000000000..32b47a77c233a3 --- /dev/null +++ b/data_model/clusters/ContentLauncher.xml @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Descriptor-Cluster.xml b/data_model/clusters/Descriptor-Cluster.xml new file mode 100644 index 00000000000000..956fb411e91a22 --- /dev/null +++ b/data_model/clusters/Descriptor-Cluster.xml @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/DeviceCommissioningFlows.xml b/data_model/clusters/DeviceCommissioningFlows.xml new file mode 100644 index 00000000000000..c691c471b63880 --- /dev/null +++ b/data_model/clusters/DeviceCommissioningFlows.xml @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/DiagnosticLogsCluster.xml b/data_model/clusters/DiagnosticLogsCluster.xml new file mode 100644 index 00000000000000..2fb6fc298ac7b5 --- /dev/null +++ b/data_model/clusters/DiagnosticLogsCluster.xml @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/DiagnosticsEthernet.xml b/data_model/clusters/DiagnosticsEthernet.xml new file mode 100644 index 00000000000000..0ceb98841a7793 --- /dev/null +++ b/data_model/clusters/DiagnosticsEthernet.xml @@ -0,0 +1,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/DiagnosticsGeneral.xml b/data_model/clusters/DiagnosticsGeneral.xml new file mode 100644 index 00000000000000..e03b1c04f13ddf --- /dev/null +++ b/data_model/clusters/DiagnosticsGeneral.xml @@ -0,0 +1,319 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/DiagnosticsSoftware.xml b/data_model/clusters/DiagnosticsSoftware.xml new file mode 100644 index 00000000000000..4a4d5508be51d5 --- /dev/null +++ b/data_model/clusters/DiagnosticsSoftware.xml @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/DiagnosticsThread.xml b/data_model/clusters/DiagnosticsThread.xml new file mode 100644 index 00000000000000..2f8e97b150ffc2 --- /dev/null +++ b/data_model/clusters/DiagnosticsThread.xml @@ -0,0 +1,691 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/DiagnosticsWiFi.xml b/data_model/clusters/DiagnosticsWiFi.xml new file mode 100644 index 00000000000000..ce0d8ae0e59c0f --- /dev/null +++ b/data_model/clusters/DiagnosticsWiFi.xml @@ -0,0 +1,257 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/DishwasherAlarm.xml b/data_model/clusters/DishwasherAlarm.xml new file mode 100644 index 00000000000000..487a522a661af7 --- /dev/null +++ b/data_model/clusters/DishwasherAlarm.xml @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/DistributedComplianceLedger.xml b/data_model/clusters/DistributedComplianceLedger.xml new file mode 100644 index 00000000000000..c3608f82c37c61 --- /dev/null +++ b/data_model/clusters/DistributedComplianceLedger.xml @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/DoorLock.xml b/data_model/clusters/DoorLock.xml new file mode 100644 index 00000000000000..a0c5f9e63be3d7 --- /dev/null +++ b/data_model/clusters/DoorLock.xml @@ -0,0 +1,2296 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/FanControl.xml b/data_model/clusters/FanControl.xml new file mode 100644 index 00000000000000..121f954055bcfe --- /dev/null +++ b/data_model/clusters/FanControl.xml @@ -0,0 +1,296 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/FlowMeasurement.xml b/data_model/clusters/FlowMeasurement.xml new file mode 100644 index 00000000000000..66ad022c2c64ef --- /dev/null +++ b/data_model/clusters/FlowMeasurement.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/GeneralCommissioningCluster.xml b/data_model/clusters/GeneralCommissioningCluster.xml new file mode 100644 index 00000000000000..a25cdfc6ac934e --- /dev/null +++ b/data_model/clusters/GeneralCommissioningCluster.xml @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Group-Key-Management-Cluster.xml b/data_model/clusters/Group-Key-Management-Cluster.xml new file mode 100644 index 00000000000000..78db5376ebef14 --- /dev/null +++ b/data_model/clusters/Group-Key-Management-Cluster.xml @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Groups.xml b/data_model/clusters/Groups.xml new file mode 100644 index 00000000000000..b0b8379e840d5b --- /dev/null +++ b/data_model/clusters/Groups.xml @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Identify.xml b/data_model/clusters/Identify.xml new file mode 100644 index 00000000000000..cc9bf06b474eca --- /dev/null +++ b/data_model/clusters/Identify.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/IlluminanceMeasurement.xml b/data_model/clusters/IlluminanceMeasurement.xml new file mode 100644 index 00000000000000..c9be9fa6879293 --- /dev/null +++ b/data_model/clusters/IlluminanceMeasurement.xml @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/KeypadInput.xml b/data_model/clusters/KeypadInput.xml new file mode 100644 index 00000000000000..81f16ec0830aef --- /dev/null +++ b/data_model/clusters/KeypadInput.xml @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Label-Cluster-FixedLabel.xml b/data_model/clusters/Label-Cluster-FixedLabel.xml new file mode 100644 index 00000000000000..7087883e611edb --- /dev/null +++ b/data_model/clusters/Label-Cluster-FixedLabel.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Label-Cluster-Label.xml b/data_model/clusters/Label-Cluster-Label.xml new file mode 100644 index 00000000000000..6b29c2cf44caad --- /dev/null +++ b/data_model/clusters/Label-Cluster-Label.xml @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Label-Cluster-UserLabel.xml b/data_model/clusters/Label-Cluster-UserLabel.xml new file mode 100644 index 00000000000000..e9d8dda4610b4f --- /dev/null +++ b/data_model/clusters/Label-Cluster-UserLabel.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/LaundryWasherControls.xml b/data_model/clusters/LaundryWasherControls.xml new file mode 100644 index 00000000000000..0f0c70d9b5825c --- /dev/null +++ b/data_model/clusters/LaundryWasherControls.xml @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/LevelControl.xml b/data_model/clusters/LevelControl.xml new file mode 100644 index 00000000000000..0cc15f95168ce3 --- /dev/null +++ b/data_model/clusters/LevelControl.xml @@ -0,0 +1,305 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/LocalizationConfiguration.xml b/data_model/clusters/LocalizationConfiguration.xml new file mode 100644 index 00000000000000..2b1297fb8f8e0e --- /dev/null +++ b/data_model/clusters/LocalizationConfiguration.xml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/LocalizationTimeFormat.xml b/data_model/clusters/LocalizationTimeFormat.xml new file mode 100644 index 00000000000000..9c0ffa062fec58 --- /dev/null +++ b/data_model/clusters/LocalizationTimeFormat.xml @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/LocalizationUnit.xml b/data_model/clusters/LocalizationUnit.xml new file mode 100644 index 00000000000000..8a5179dafb0aff --- /dev/null +++ b/data_model/clusters/LocalizationUnit.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/LowPower.xml b/data_model/clusters/LowPower.xml new file mode 100644 index 00000000000000..f8ee432eef58a7 --- /dev/null +++ b/data_model/clusters/LowPower.xml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/MediaInput.xml b/data_model/clusters/MediaInput.xml new file mode 100644 index 00000000000000..8b6f4008f372f6 --- /dev/null +++ b/data_model/clusters/MediaInput.xml @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/MediaPlayback.xml b/data_model/clusters/MediaPlayback.xml new file mode 100644 index 00000000000000..21001d287f6120 --- /dev/null +++ b/data_model/clusters/MediaPlayback.xml @@ -0,0 +1,248 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/ModeBase.xml b/data_model/clusters/ModeBase.xml new file mode 100644 index 00000000000000..fc04fb991752c9 --- /dev/null +++ b/data_model/clusters/ModeBase.xml @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/ModeSelect.xml b/data_model/clusters/ModeSelect.xml new file mode 100644 index 00000000000000..2fff860458f0e5 --- /dev/null +++ b/data_model/clusters/ModeSelect.xml @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Mode_Dishwasher.xml b/data_model/clusters/Mode_Dishwasher.xml new file mode 100644 index 00000000000000..88bb8da4045695 --- /dev/null +++ b/data_model/clusters/Mode_Dishwasher.xml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Mode_LaundryWasher.xml b/data_model/clusters/Mode_LaundryWasher.xml new file mode 100644 index 00000000000000..96190a4009850c --- /dev/null +++ b/data_model/clusters/Mode_LaundryWasher.xml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Mode_RVCClean.xml b/data_model/clusters/Mode_RVCClean.xml new file mode 100644 index 00000000000000..94862d27905718 --- /dev/null +++ b/data_model/clusters/Mode_RVCClean.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Mode_RVCRun.xml b/data_model/clusters/Mode_RVCRun.xml new file mode 100644 index 00000000000000..6f83ac88816322 --- /dev/null +++ b/data_model/clusters/Mode_RVCRun.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Mode_Refrigerator.xml b/data_model/clusters/Mode_Refrigerator.xml new file mode 100644 index 00000000000000..adf4bdebdca97d --- /dev/null +++ b/data_model/clusters/Mode_Refrigerator.xml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/NetworkCommissioningCluster.xml b/data_model/clusters/NetworkCommissioningCluster.xml new file mode 100644 index 00000000000000..740c23debbd6c2 --- /dev/null +++ b/data_model/clusters/NetworkCommissioningCluster.xml @@ -0,0 +1,471 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/OTAFileFormat.xml b/data_model/clusters/OTAFileFormat.xml new file mode 100644 index 00000000000000..2f19fdb467bc4d --- /dev/null +++ b/data_model/clusters/OTAFileFormat.xml @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/OTASoftwareUpdate.xml b/data_model/clusters/OTASoftwareUpdate.xml new file mode 100644 index 00000000000000..2c87e6aa1039c9 --- /dev/null +++ b/data_model/clusters/OTASoftwareUpdate.xml @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/OccupancySensing.xml b/data_model/clusters/OccupancySensing.xml new file mode 100644 index 00000000000000..1dd5cbe6156865 --- /dev/null +++ b/data_model/clusters/OccupancySensing.xml @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/OnOff.xml b/data_model/clusters/OnOff.xml new file mode 100644 index 00000000000000..3c79220ecd67fc --- /dev/null +++ b/data_model/clusters/OnOff.xml @@ -0,0 +1,233 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/OperationalCredentialCluster.xml b/data_model/clusters/OperationalCredentialCluster.xml new file mode 100644 index 00000000000000..a5d25d07d57ecc --- /dev/null +++ b/data_model/clusters/OperationalCredentialCluster.xml @@ -0,0 +1,320 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/OperationalState.xml b/data_model/clusters/OperationalState.xml new file mode 100644 index 00000000000000..5e969ff0793b5a --- /dev/null +++ b/data_model/clusters/OperationalState.xml @@ -0,0 +1,223 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/OperationalState_RVC.xml b/data_model/clusters/OperationalState_RVC.xml new file mode 100644 index 00000000000000..3a2fa80b2857e2 --- /dev/null +++ b/data_model/clusters/OperationalState_RVC.xml @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/PowerSourceCluster.xml b/data_model/clusters/PowerSourceCluster.xml new file mode 100644 index 00000000000000..d34e75942c1a3c --- /dev/null +++ b/data_model/clusters/PowerSourceCluster.xml @@ -0,0 +1,810 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/PowerSourceConfigurationCluster.xml b/data_model/clusters/PowerSourceConfigurationCluster.xml new file mode 100644 index 00000000000000..d186842379aaf6 --- /dev/null +++ b/data_model/clusters/PowerSourceConfigurationCluster.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/PressureMeasurement.xml b/data_model/clusters/PressureMeasurement.xml new file mode 100644 index 00000000000000..70093485639090 --- /dev/null +++ b/data_model/clusters/PressureMeasurement.xml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/PumpConfigurationControl.xml b/data_model/clusters/PumpConfigurationControl.xml new file mode 100644 index 00000000000000..f943afc3c99ae4 --- /dev/null +++ b/data_model/clusters/PumpConfigurationControl.xml @@ -0,0 +1,442 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/RefrigeratorAlarm.xml b/data_model/clusters/RefrigeratorAlarm.xml new file mode 100644 index 00000000000000..5c2ea3c6853c20 --- /dev/null +++ b/data_model/clusters/RefrigeratorAlarm.xml @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/ResourceMonitoring.xml b/data_model/clusters/ResourceMonitoring.xml new file mode 100644 index 00000000000000..e5a178a5700f8c --- /dev/null +++ b/data_model/clusters/ResourceMonitoring.xml @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Scenes.xml b/data_model/clusters/Scenes.xml new file mode 100644 index 00000000000000..185f1d5cad37bc --- /dev/null +++ b/data_model/clusters/Scenes.xml @@ -0,0 +1,504 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/SmokeCOAlarm.xml b/data_model/clusters/SmokeCOAlarm.xml new file mode 100644 index 00000000000000..d24f696e3a3384 --- /dev/null +++ b/data_model/clusters/SmokeCOAlarm.xml @@ -0,0 +1,303 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Switch.xml b/data_model/clusters/Switch.xml new file mode 100644 index 00000000000000..e66d2de6d8da83 --- /dev/null +++ b/data_model/clusters/Switch.xml @@ -0,0 +1,194 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/TargetNavigator.xml b/data_model/clusters/TargetNavigator.xml new file mode 100644 index 00000000000000..3a49e7b5c6c838 --- /dev/null +++ b/data_model/clusters/TargetNavigator.xml @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/TemperatureControl.xml b/data_model/clusters/TemperatureControl.xml new file mode 100644 index 00000000000000..f457238bab1d8a --- /dev/null +++ b/data_model/clusters/TemperatureControl.xml @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/TemperatureMeasurement.xml b/data_model/clusters/TemperatureMeasurement.xml new file mode 100644 index 00000000000000..e1603fd3358bc3 --- /dev/null +++ b/data_model/clusters/TemperatureMeasurement.xml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/Thermostat.xml b/data_model/clusters/Thermostat.xml new file mode 100644 index 00000000000000..bf221b7e8cd1cd --- /dev/null +++ b/data_model/clusters/Thermostat.xml @@ -0,0 +1,900 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/ThermostatUserInterfaceConfiguration.xml b/data_model/clusters/ThermostatUserInterfaceConfiguration.xml new file mode 100644 index 00000000000000..6c8d1d920e6ef7 --- /dev/null +++ b/data_model/clusters/ThermostatUserInterfaceConfiguration.xml @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/TimeSync.xml b/data_model/clusters/TimeSync.xml new file mode 100644 index 00000000000000..c7ad7b0032aaf7 --- /dev/null +++ b/data_model/clusters/TimeSync.xml @@ -0,0 +1,200 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/VideoPlayerArchitecture.xml b/data_model/clusters/VideoPlayerArchitecture.xml new file mode 100644 index 00000000000000..dcc4f37603db27 --- /dev/null +++ b/data_model/clusters/VideoPlayerArchitecture.xml @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/WakeOnLAN.xml b/data_model/clusters/WakeOnLAN.xml new file mode 100644 index 00000000000000..eede336182e6dc --- /dev/null +++ b/data_model/clusters/WakeOnLAN.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/WaterContentMeasurement.xml b/data_model/clusters/WaterContentMeasurement.xml new file mode 100644 index 00000000000000..8b1ff6a9a049bc --- /dev/null +++ b/data_model/clusters/WaterContentMeasurement.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/WindowCovering.xml b/data_model/clusters/WindowCovering.xml new file mode 100644 index 00000000000000..7eefe853c91d0a --- /dev/null +++ b/data_model/clusters/WindowCovering.xml @@ -0,0 +1,694 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/appliances.xml b/data_model/clusters/appliances.xml new file mode 100644 index 00000000000000..4912fbea967cc4 --- /dev/null +++ b/data_model/clusters/appliances.xml @@ -0,0 +1,62 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/bridge-clusters-Actions.xml b/data_model/clusters/bridge-clusters-Actions.xml new file mode 100644 index 00000000000000..f9b17944739dca --- /dev/null +++ b/data_model/clusters/bridge-clusters-Actions.xml @@ -0,0 +1,378 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/bridge-clusters-BridgedDeviceBasicInformation.xml b/data_model/clusters/bridge-clusters-BridgedDeviceBasicInformation.xml new file mode 100644 index 00000000000000..126f8c19454e32 --- /dev/null +++ b/data_model/clusters/bridge-clusters-BridgedDeviceBasicInformation.xml @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/data_model/clusters/closures.xml b/data_model/clusters/closures.xml new file mode 100644 index 00000000000000..fc16e7e01c40f7 --- /dev/null +++ b/data_model/clusters/closures.xml @@ -0,0 +1,62 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/general.xml b/data_model/clusters/general.xml new file mode 100644 index 00000000000000..a36a99a4b04648 --- /dev/null +++ b/data_model/clusters/general.xml @@ -0,0 +1,62 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/hvac.xml b/data_model/clusters/hvac.xml new file mode 100644 index 00000000000000..a1100127707991 --- /dev/null +++ b/data_model/clusters/hvac.xml @@ -0,0 +1,62 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/lighting.xml b/data_model/clusters/lighting.xml new file mode 100644 index 00000000000000..0bdc61f83a11cb --- /dev/null +++ b/data_model/clusters/lighting.xml @@ -0,0 +1,62 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/meas_and_sense.xml b/data_model/clusters/meas_and_sense.xml new file mode 100644 index 00000000000000..540107bf47767f --- /dev/null +++ b/data_model/clusters/meas_and_sense.xml @@ -0,0 +1,62 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/media.xml b/data_model/clusters/media.xml new file mode 100644 index 00000000000000..cc2deaa3b765f5 --- /dev/null +++ b/data_model/clusters/media.xml @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/data_model/clusters/robots.xml b/data_model/clusters/robots.xml new file mode 100644 index 00000000000000..7b93d445a003b9 --- /dev/null +++ b/data_model/clusters/robots.xml @@ -0,0 +1,62 @@ + + + \ No newline at end of file diff --git a/data_model/spec_sha b/data_model/spec_sha new file mode 100644 index 00000000000000..ce76099dc92d4e --- /dev/null +++ b/data_model/spec_sha @@ -0,0 +1 @@ +e9fd0c9102e94d747e7987a055b8ae6bf04cd8a2 diff --git a/scripts/spec_xml/generate_spec_xml.py b/scripts/spec_xml/generate_spec_xml.py new file mode 100755 index 00000000000000..6c476851830d62 --- /dev/null +++ b/scripts/spec_xml/generate_spec_xml.py @@ -0,0 +1,91 @@ +#!/usr/bin/env python3 + +# Copyright (c) 2023 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import click +import glob +import os +import subprocess +import sys + +DEFAULT_CHIP_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')) +DEFAULT_OUTPUT_DIR = os.path.abspath(os.path.join(DEFAULT_CHIP_ROOT, 'data_model')) + + +@click.command() +@click.option( + '--scraper', + required=True, + type=str, + help='Path to the location of the scraper tool') +@click.option( + '--spec-root', + required=True, + type=str, + help='Path to the spec root') +@click.option( + '--output-dir', + default=DEFAULT_OUTPUT_DIR, + help='Path to output xml files') +@click.option( + '--dry-run', + default=False, + is_flag=True, + help='Flag for dry run') +def main(scraper, spec_root, output_dir, dry_run): + # TODO: Add scrapers for device types + + src_dir = os.path.abspath(os.path.join(spec_root, 'src')) + sdm_clusters_dir = os.path.abspath(os.path.join(src_dir, 'service_device_management')) + app_clusters_dir = os.path.abspath(os.path.join(src_dir, 'app_clusters')) + dm_clusters_dir = os.path.abspath(os.path.join(src_dir, 'data_model')) + media_clusters_dir = os.path.abspath(os.path.join(app_clusters_dir, 'media')) + clusters_output_dir = os.path.abspath(os.path.join(output_dir, 'clusters')) + dm_clusters_list = ['ACL-Cluster.adoc', 'Binding-Cluster.adoc', 'bridge-clusters.adoc', + 'Descriptor-Cluster.adoc', 'Group-Key-Management-Cluster.adoc', 'Label-Cluster.adoc'] + + if not os.path.exists(clusters_output_dir): + os.makedirs(clusters_output_dir) + + def scrape_cluster(filename): + xml = os.path.basename(filename).replace('.adoc', '.xml') + xml_path = os.path.abspath(os.path.join(clusters_output_dir, xml)) + cmd = [scraper, 'cluster', filename, xml_path, '-nd'] + if dry_run: + print(cmd) + else: + subprocess.run(cmd) + + for filename in glob.glob(f'{sdm_clusters_dir}/*.adoc'): + scrape_cluster(filename) + for filename in glob.glob(f'{app_clusters_dir}/*.adoc'): + scrape_cluster(filename) + for filename in glob.glob(f'{media_clusters_dir}/*.adoc'): + scrape_cluster(filename) + for f in dm_clusters_list: + filename = f'{dm_clusters_dir}/{f}' + scrape_cluster(filename) + + # Put the current spec sha into the cluster dir + sha_file = 'spec_sha' + os.chdir(spec_root) + out = subprocess.run(['git', 'rev-parse', 'HEAD'], capture_output=True) + sha = out.stdout + with open(f'{output_dir}/{sha_file}', 'w') as output: + output.write(sha.decode('utf-8')) + + +if __name__ == '__main__': + main()