Skip to content

Commit 3922463

Browse files
bzbarsky-applepull[bot]
authored andcommitted
Update availability annotations for Identify cluster changes. (#26903)
Changes happened in #26738.
1 parent 144f73d commit 3922463

File tree

2 files changed

+51
-20
lines changed

2 files changed

+51
-20
lines changed

src/darwin/Framework/CHIP/templates/availability.yaml

+31-6
Original file line numberDiff line numberDiff line change
@@ -3045,9 +3045,15 @@
30453045
- fabricIndex
30463046
enums:
30473047
Identify:
3048-
- IdentifyEffectIdentifier
3049-
- IdentifyEffectVariant
3050-
- IdentifyIdentifyType
3048+
# EffectIdentifierEnum, EffectVariantEnum, and IdentifyTypeEnum
3049+
# were originally named IdentifyEffectIdentifier,
3050+
# IdentifyEffectVariant, and IdentifyIdentifyType, but we generate
3051+
# the same API for the names with/without "Enum" at the end, and
3052+
# with/without the cluster name at the beginning, so the name can
3053+
# just change here.
3054+
- EffectIdentifierEnum
3055+
- EffectVariantEnum
3056+
- IdentifyTypeEnum
30513057
OnOff:
30523058
- OnOffDelayedAllOffEffectVariant
30533059
- OnOffDyingLightEffectVariant
@@ -3237,16 +3243,22 @@
32373243
- FaultType
32383244
enum values:
32393245
Identify:
3240-
IdentifyEffectIdentifier:
3246+
# EffectIdentifierEnum, EffectVariantEnum, and IdentifyTypeEnum
3247+
# were originally named IdentifyEffectIdentifier,
3248+
# IdentifyEffectVariant, and IdentifyIdentifyType, but we generate
3249+
# the same API for the names with/without "Enum" at the end, and
3250+
# with/without the cluster name at the beginning, so the name can
3251+
# just change here.
3252+
EffectIdentifierEnum:
32413253
- Blink
32423254
- Breathe
32433255
- Okay
32443256
- ChannelChange
32453257
- FinishEffect
32463258
- StopEffect
3247-
IdentifyEffectVariant:
3259+
EffectVariantEnum:
32483260
- Default
3249-
IdentifyIdentifyType:
3261+
IdentifyTypeEnum:
32503262
- None
32513263
- VisibleLight
32523264
- VisibleLED
@@ -7721,6 +7733,10 @@
77217733
WiFiNetworkDiagnostics:
77227734
WiFiVersionEnum:
77237735
- Ah
7736+
Identify:
7737+
IdentifyTypeEnum:
7738+
- LightOutput
7739+
- VisibleIndicator
77247740
bitmaps:
77257741
AirQuality:
77267742
- Feature
@@ -7871,6 +7887,11 @@
78717887
# We apparently forgot to deprecate BridgedDeviceBasic when we
78727888
# introduced BridgedDeviceBasicInformation.
78737889
- BridgedDeviceBasic
7890+
enum values:
7891+
Identify:
7892+
IdentifyTypeEnum:
7893+
- VisibleLight
7894+
- VisibleLED
78747895
structs:
78757896
AccessControl:
78767897
- Target
@@ -7908,6 +7929,10 @@
79087929
MixedNTPNTS: MixedNtpNts
79097930
PTP: Ptp
79107931
GNSS: Gnss
7932+
Identify:
7933+
IdentifyTypeEnum:
7934+
LightOutput: VisibleLight
7935+
VisibleIndicator: VisibleLED
79117936
bitmaps:
79127937
Groups:
79137938
Feature: GroupClusterFeature

src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h

+20-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)