Skip to content

Commit

Permalink
Rename time-format & unit cluster to align with spec (#13516)
Browse files Browse the repository at this point in the history
* Rename time-format & unit cluster to algin with spec

* Run codegen
  • Loading branch information
yufengwangca authored and pull[bot] committed Jun 9, 2022
1 parent 5edb034 commit 1564802
Show file tree
Hide file tree
Showing 33 changed files with 151 additions and 762 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19988,6 +19988,5 @@
"endpointVersion": 1,
"deviceIdentifier": 22
}
],
"log": []
]
}
3 changes: 1 addition & 2 deletions examples/bridge-app/bridge-common/bridge-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -4544,6 +4544,5 @@
"endpointVersion": 1,
"deviceIdentifier": 257
}
],
"log": []
]
}
3 changes: 1 addition & 2 deletions examples/door-lock-app/door-lock-common/door-lock-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -6166,6 +6166,5 @@
"endpointVersion": 1,
"deviceIdentifier": 10
}
],
"log": []
]
}
3 changes: 1 addition & 2 deletions examples/lighting-app/lighting-common/lighting-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -6737,6 +6737,5 @@
"endpointVersion": 1,
"deviceIdentifier": 259
}
],
"log": []
]
}
3 changes: 1 addition & 2 deletions examples/lock-app/lock-common/lock-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -5754,6 +5754,5 @@
"endpointVersion": 1,
"deviceIdentifier": 10
}
],
"log": []
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3864,6 +3864,5 @@
"endpointVersion": 1,
"deviceIdentifier": 22
}
],
"log": []
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3963,6 +3963,5 @@
"endpointVersion": 1,
"deviceIdentifier": 22
}
],
"log": []
]
}
3 changes: 1 addition & 2 deletions examples/pump-app/pump-common/pump-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -6253,6 +6253,5 @@
"endpointVersion": 1,
"deviceIdentifier": 771
}
],
"log": []
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -5998,6 +5998,5 @@
"endpointVersion": 1,
"deviceIdentifier": 772
}
],
"log": []
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3408,6 +3408,5 @@
"endpointVersion": 1,
"deviceIdentifier": 22
}
],
"log": []
]
}
3 changes: 1 addition & 2 deletions examples/thermostat/thermostat-common/thermostat.zap
Original file line number Diff line number Diff line change
Expand Up @@ -13839,6 +13839,5 @@
"endpointVersion": 1,
"deviceIdentifier": 769
}
],
"log": []
]
}
3 changes: 1 addition & 2 deletions examples/tv-app/tv-common/tv-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -10637,6 +10637,5 @@
"endpointVersion": 1,
"deviceIdentifier": 36
}
],
"log": []
]
}
3 changes: 1 addition & 2 deletions examples/tv-casting-app/tv-casting-common/tv-casting-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -16368,6 +16368,5 @@
"endpointVersion": 1,
"deviceIdentifier": 22
}
],
"log": []
]
}
3 changes: 1 addition & 2 deletions examples/window-app/common/window-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -7608,6 +7608,5 @@
"endpointVersion": 1,
"deviceIdentifier": 514
}
],
"log": []
]
}
4 changes: 2 additions & 2 deletions src/app/zap-templates/zcl/data-model/all.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
<xi:include href="chip/illuminance-measurement-cluster.xml" />
<xi:include href="chip/keypad-input-cluster.xml" />
<xi:include href="chip/localization-configuration-cluster.xml" />
<xi:include href="chip/localization-time-format-cluster.xml" />
<xi:include href="chip/localization-unit-cluster.xml" />
<xi:include href="chip/low-power-cluster.xml" />
<xi:include href="chip/media-input-cluster.xml" />
<xi:include href="chip/media-playback-cluster.xml" />
Expand All @@ -54,9 +52,11 @@
<xi:include href="chip/test-cluster.xml" />
<xi:include href="chip/thermostat-cluster.xml" />
<xi:include href="chip/thread-network-diagnostics-cluster.xml" />
<xi:include href="chip/time-format-localization-cluster.xml" />
<xi:include href="chip/time-synchronization-cluster.xml" />
<xi:include href="chip/channel-cluster.xml" />
<xi:include href="chip/user-label-cluster.xml" />
<xi:include href="chip/unit-localization-cluster.xml" />
<xi:include href="chip/wake-on-lan-cluster.xml" />
<xi:include href="chip/wifi-network-diagnostics-cluster.xml" />
<xi:include href="chip/window-covering.xml" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ limitations under the License.
</enum>
<cluster>
<domain>General</domain>
<name>Localization Time Format</name>
<name>Time Format Localization</name>
<code>0x002c</code>
<define>LOCALIZATION_TIME_FORMAT_CLUSTER</define>
<define>TIME_FORMAT_LOCALIZATION_CLUSTER</define>
<client init="false" tick="false">true</client>
<server init="false" tick="false">true</server>
<description>Nodes should be expected to be deployed to any and all regions of the world. These global regions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ limitations under the License.
</enum>
<cluster>
<domain>General</domain>
<name>Localization Unit</name>
<name>Unit Localization</name>
<code>0x002d</code>
<define>LOCALIZATION_UNIT_CLUSTER</define>
<define>UNIT_LOCALIZATION_CLUSTER</define>
<client init="false" tick="false">true</client>
<server init="false" tick="false">true</server>
<description>Nodes should be expected to be deployed to any and all regions of the world. These global regions
Expand Down
4 changes: 2 additions & 2 deletions src/app/zap-templates/zcl/zcl.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
"illuminance-measurement-cluster.xml",
"keypad-input-cluster.xml",
"localization-configuration-cluster.xml",
"localization-time-format-cluster.xml",
"localization-unit-cluster.xml",
"low-power-cluster.xml",
"media-input-cluster.xml",
"media-playback-cluster.xml",
Expand All @@ -57,8 +55,10 @@
"test-cluster.xml",
"thermostat-cluster.xml",
"thread-network-diagnostics-cluster.xml",
"time-format-localization-cluster.xml",
"time-synchronization-cluster.xml",
"user-label-cluster.xml",
"unit-localization-cluster.xml",
"wake-on-lan-cluster.xml",
"wifi-network-diagnostics-cluster.xml",
"window-covering.xml",
Expand Down
3 changes: 1 addition & 2 deletions src/controller/data_model/controller-clusters.zap
Original file line number Diff line number Diff line change
Expand Up @@ -14234,6 +14234,5 @@
"endpointVersion": 1,
"deviceIdentifier": 22
}
],
"log": []
]
}
105 changes: 5 additions & 100 deletions src/controller/python/chip/clusters/Objects.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1564802

Please sign in to comment.