diff --git a/src/app/zap-templates/zcl/data-model/chip/unit-localization-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/unit-localization-cluster.xml index d6c7adf1e5dccc..3c4cde3bf3e159 100644 --- a/src/app/zap-templates/zcl/data-model/chip/unit-localization-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/unit-localization-cluster.xml @@ -16,7 +16,7 @@ limitations under the License. --> - + @@ -35,7 +35,7 @@ limitations under the License. mechanism by which they can be configured to use a user’s preferred unit. - TemperatureUnit + TemperatureUnit diff --git a/src/darwin/Framework/CHIP/templates/availability.yaml b/src/darwin/Framework/CHIP/templates/availability.yaml index 3e0a06643b259b..f1d94687b2010f 100644 --- a/src/darwin/Framework/CHIP/templates/availability.yaml +++ b/src/darwin/Framework/CHIP/templates/availability.yaml @@ -3066,7 +3066,10 @@ - CalendarType - HourFormat UnitLocalization: - - TempUnit + # TempUnitEnum was originally just named TempUnit, but + # we generate the same API for both of those names, so the name + # can just change here. + - TempUnitEnum PowerSource: - BatChargeFault - BatChargeLevel @@ -3335,7 +3338,10 @@ - 12hr - 24hr UnitLocalization: - TempUnit: + # TempUnitEnum was originally just named TempUnit, but + # we generate the same API for both of those names, so the name + # can just change here. + TempUnitEnum: - Fahrenheit - Celsius - Kelvin