Add support for global structs/enums/bitmaps to Python codegen. (#34561)
diff --git a/src/controller/python/chip/clusters/Attribute.py b/src/controller/python/chip/clusters/Attribute.py
index a8850f6..06e893a 100644
--- a/src/controller/python/chip/clusters/Attribute.py
+++ b/src/controller/python/chip/clusters/Attribute.py
@@ -288,7 +288,7 @@
''' Build internal cluster index for locating the corresponding cluster object by path in the future.
'''
for clusterName, obj in inspect.getmembers(sys.modules['chip.clusters.Objects']):
- if ('chip.clusters.Objects' in str(obj)) and inspect.isclass(obj):
+ if ('chip.clusters.Objects' in str(obj)) and inspect.isclass(obj) and issubclass(obj, Cluster):
_ClusterIndex[obj.id] = obj
diff --git a/src/controller/python/chip/clusters/Objects.py b/src/controller/python/chip/clusters/Objects.py
index 29aca6d..fe9a008 100644
--- a/src/controller/python/chip/clusters/Objects.py
+++ b/src/controller/python/chip/clusters/Objects.py
@@ -36,6 +36,40 @@
ClusterObjectDescriptor, ClusterObjectFieldDescriptor)
from .Types import Nullable, NullValue
+class Globals:
+ class Enums:
+ class TestGlobalEnum(MatterIntEnum):
+ kSomeValue = 0x00
+ kSomeOtherValue = 0x01
+ kFinalValue = 0x02
+ # All received enum values that are not listed above will be mapped
+ # to kUnknownEnumValue. This is a helper enum value that should only
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
+ kUnknownEnumValue = 3,
+
+ class Bitmaps:
+ class TestGlobalBitmap(IntFlag):
+ kFirstBit = 0x1
+ kSecondBit = 0x2
+
+ class Structs:
+ @dataclass
+ class TestGlobalStruct(ClusterObject):
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields=[
+ ClusterObjectFieldDescriptor(Label="name", Tag=0, Type=str),
+ ClusterObjectFieldDescriptor(Label="myBitmap", Tag=1, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="myEnum", Tag=2, Type=typing.Union[None, Nullable, Globals.Enums.TestGlobalEnum]),
+ ])
+
+ name: 'str' = ""
+ myBitmap: 'typing.Union[Nullable, uint]' = NullValue
+ myEnum: 'typing.Union[None, Nullable, Globals.Enums.TestGlobalEnum]' = None
+
+
@dataclass
class Identify(Cluster):
@@ -74,16 +108,16 @@
kStopEffect = 0xFF
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class EffectVariantEnum(MatterIntEnum):
kDefault = 0x00
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 1,
class IdentifyTypeEnum(MatterIntEnum):
@@ -95,8 +129,8 @@
kActuator = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 6,
class Commands:
@@ -622,16 +656,16 @@
kDelayedOffSlowFade = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class DyingLightEffectVariantEnum(MatterIntEnum):
kDyingLightFadeOff = 0x00
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 1,
class EffectIdentifierEnum(MatterIntEnum):
@@ -639,8 +673,8 @@
kDyingLight = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class StartUpOnOffEnum(MatterIntEnum):
@@ -649,8 +683,8 @@
kToggle = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Bitmaps:
@@ -1145,8 +1179,8 @@
kDown = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class StepModeEnum(MatterIntEnum):
@@ -1154,8 +1188,8 @@
kDown = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class Bitmaps:
@@ -2528,8 +2562,8 @@
kGroup = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 0,
class AccessControlEntryPrivilegeEnum(MatterIntEnum):
@@ -2540,8 +2574,8 @@
kAdminister = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 0,
class ChangeTypeEnum(MatterIntEnum):
@@ -2550,8 +2584,8 @@
kRemoved = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Structs:
@@ -2870,8 +2904,8 @@
kInterrupted = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class ActionStateEnum(MatterIntEnum):
@@ -2881,8 +2915,8 @@
kDisabled = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class ActionTypeEnum(MatterIntEnum):
@@ -2895,8 +2929,8 @@
kAlarm = 0x06
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 7,
class EndpointListTypeEnum(MatterIntEnum):
@@ -2905,8 +2939,8 @@
kZone = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Bitmaps:
@@ -3479,8 +3513,8 @@
kGold = 0x14
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 21,
class ProductFinishEnum(MatterIntEnum):
@@ -3492,8 +3526,8 @@
kFabric = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 6,
class Structs:
@@ -4107,8 +4141,8 @@
kDiscontinue = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class DownloadProtocolEnum(MatterIntEnum):
@@ -4118,8 +4152,8 @@
kVendorSpecific = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class StatusEnum(MatterIntEnum):
@@ -4129,8 +4163,8 @@
kDownloadProtocolNotSupported = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class Commands:
@@ -4384,8 +4418,8 @@
kUrgentUpdateAvailable = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class ChangeReasonEnum(MatterIntEnum):
@@ -4396,8 +4430,8 @@
kDelayByProvider = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class UpdateStateEnum(MatterIntEnum):
@@ -4412,8 +4446,8 @@
kDelayedOnUserConsent = 0x08
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 9,
class Structs:
@@ -4894,8 +4928,8 @@
kUseActiveLocale = 0xFF
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 12,
class HourFormatEnum(MatterIntEnum):
@@ -4904,8 +4938,8 @@
kUseActiveLocale = 0xFF
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class Bitmaps:
@@ -5090,8 +5124,8 @@
kKelvin = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Bitmaps:
@@ -5475,8 +5509,8 @@
kZincCerium = 0x20
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 33,
class BatChargeFaultEnum(MatterIntEnum):
@@ -5493,8 +5527,8 @@
kSafetyTimeout = 0x0A
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 11,
class BatChargeLevelEnum(MatterIntEnum):
@@ -5503,8 +5537,8 @@
kCritical = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class BatChargeStateEnum(MatterIntEnum):
@@ -5514,8 +5548,8 @@
kIsNotCharging = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class BatCommonDesignationEnum(MatterIntEnum):
@@ -5602,8 +5636,8 @@
k32600 = 0x50
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 81,
class BatFaultEnum(MatterIntEnum):
@@ -5612,8 +5646,8 @@
kUnderTemp = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class BatReplaceabilityEnum(MatterIntEnum):
@@ -5623,8 +5657,8 @@
kFactoryReplaceable = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class PowerSourceStatusEnum(MatterIntEnum):
@@ -5634,8 +5668,8 @@
kUnavailable = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class WiredCurrentTypeEnum(MatterIntEnum):
@@ -5643,8 +5677,8 @@
kDc = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class WiredFaultEnum(MatterIntEnum):
@@ -5653,8 +5687,8 @@
kUnderVoltage = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Bitmaps:
@@ -6420,8 +6454,8 @@
kBusyWithOtherAdmin = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class RegulatoryLocationTypeEnum(MatterIntEnum):
@@ -6430,8 +6464,8 @@
kIndoorOutdoor = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Structs:
@@ -6794,8 +6828,8 @@
kUnknownError = 0x0C
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 13,
class WiFiBandEnum(MatterIntEnum):
@@ -6807,8 +6841,8 @@
k1g = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 6,
class Bitmaps:
@@ -7422,8 +7456,8 @@
kCrashLogs = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class StatusEnum(MatterIntEnum):
@@ -7434,8 +7468,8 @@
kDenied = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class TransferProtocolEnum(MatterIntEnum):
@@ -7443,8 +7477,8 @@
kBdx = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class Commands:
@@ -7640,8 +7674,8 @@
kSoftwareReset = 0x06
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 7,
class HardwareFaultEnum(MatterIntEnum):
@@ -7658,8 +7692,8 @@
kTamperDetected = 0x0A
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 11,
class InterfaceTypeEnum(MatterIntEnum):
@@ -7670,8 +7704,8 @@
kThread = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class NetworkFaultEnum(MatterIntEnum):
@@ -7681,8 +7715,8 @@
kConnectionFailed = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class RadioFaultEnum(MatterIntEnum):
@@ -7695,8 +7729,8 @@
kEthernetFault = 0x06
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 7,
class Bitmaps:
@@ -8550,8 +8584,8 @@
kNotConnected = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class NetworkFaultEnum(MatterIntEnum):
@@ -8561,8 +8595,8 @@
kNetworkJammed = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class RoutingRoleEnum(MatterIntEnum):
@@ -8575,8 +8609,8 @@
kLeader = 0x06
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 7,
class Bitmaps:
@@ -9917,8 +9951,8 @@
kSsidNotFound = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class ConnectionStatusEnum(MatterIntEnum):
@@ -9926,8 +9960,8 @@
kNotConnected = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class SecurityTypeEnum(MatterIntEnum):
@@ -9939,8 +9973,8 @@
kWpa3 = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 6,
class WiFiVersionEnum(MatterIntEnum):
@@ -9953,8 +9987,8 @@
kAh = 0x06
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 7,
class Bitmaps:
@@ -10397,8 +10431,8 @@
kRate400G = 0x09
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 10,
class Bitmaps:
@@ -10720,16 +10754,16 @@
kMicrosecondsGranularity = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class StatusCode(MatterIntEnum):
kTimeNotAccepted = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 0,
class TimeSourceEnum(MatterIntEnum):
@@ -10752,8 +10786,8 @@
kGnss = 0x10
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 17,
class TimeZoneDatabaseEnum(MatterIntEnum):
@@ -10762,8 +10796,8 @@
kNone = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Bitmaps:
@@ -11408,8 +11442,8 @@
kGold = 0x14
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 21,
class ProductFinishEnum(MatterIntEnum):
@@ -11421,8 +11455,8 @@
kFabric = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 6,
class Bitmaps:
@@ -12259,8 +12293,8 @@
kBasicWindowOpen = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class StatusCode(MatterIntEnum):
@@ -12269,8 +12303,8 @@
kWindowNotOpen = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 0,
class Bitmaps:
@@ -12530,8 +12564,8 @@
kPAICertificate = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 0,
class NodeOperationalCertStatusEnum(MatterIntEnum):
@@ -12547,8 +12581,8 @@
kInvalidFabricIndex = 0x0B
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 7,
class Structs:
@@ -13032,8 +13066,8 @@
kCacheAndSync = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class Bitmaps:
@@ -14231,8 +14265,8 @@
kEphemeral = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class OperatingModeEnum(MatterIntEnum):
@@ -14240,8 +14274,8 @@
kLit = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class Bitmaps:
@@ -14674,8 +14708,8 @@
kReady = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class Bitmaps:
@@ -14933,8 +14967,8 @@
kCommandInvalidInState = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class OperationalStateEnum(MatterIntEnum):
@@ -14944,8 +14978,8 @@
kError = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class Structs:
@@ -15327,8 +15361,8 @@
kProofing = 0x4008
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 0,
class Bitmaps:
@@ -15596,8 +15630,8 @@
kMax = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class Attributes:
@@ -16592,8 +16626,8 @@
kMax = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class Bitmaps:
@@ -18025,8 +18059,8 @@
kExtremelyPoor = 0x06
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 7,
class Bitmaps:
@@ -18206,8 +18240,8 @@
kCritical = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class ContaminationStateEnum(MatterIntEnum):
@@ -18217,8 +18251,8 @@
kCritical = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class EndOfServiceEnum(MatterIntEnum):
@@ -18226,8 +18260,8 @@
kExpired = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class ExpressedStateEnum(MatterIntEnum):
@@ -18242,8 +18276,8 @@
kInterconnectCO = 0x08
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 9,
class MuteStateEnum(MatterIntEnum):
@@ -18251,8 +18285,8 @@
kMuted = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class SensitivityEnum(MatterIntEnum):
@@ -18261,8 +18295,8 @@
kLow = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Bitmaps:
@@ -19079,8 +19113,8 @@
kDefrost = 0x4001
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 0,
class Bitmaps:
@@ -19619,8 +19653,8 @@
kCommandInvalidInState = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class OperationalStateEnum(MatterIntEnum):
@@ -19630,8 +19664,8 @@
kError = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class Structs:
@@ -20939,8 +20973,8 @@
kCritical = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class DegradationDirectionEnum(MatterIntEnum):
@@ -20948,8 +20982,8 @@
kDown = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class ProductIdentifierTypeEnum(MatterIntEnum):
@@ -20960,8 +20994,8 @@
kOem = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class Bitmaps:
@@ -21234,8 +21268,8 @@
kCritical = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class DegradationDirectionEnum(MatterIntEnum):
@@ -21243,8 +21277,8 @@
kDown = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class ProductIdentifierTypeEnum(MatterIntEnum):
@@ -21255,8 +21289,8 @@
kOem = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class Bitmaps:
@@ -21890,8 +21924,8 @@
kFailureDueToFault = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 0,
class ValveStateEnum(MatterIntEnum):
@@ -21900,8 +21934,8 @@
kTransitioning = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Bitmaps:
@@ -22344,8 +22378,8 @@
kElectricalEnergy = 0x0E
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 15,
class PowerModeEnum(MatterIntEnum):
@@ -22354,8 +22388,8 @@
kAc = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Bitmaps:
@@ -22931,8 +22965,8 @@
kElectricalEnergy = 0x0E
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 15,
class Bitmaps:
@@ -23301,8 +23335,8 @@
kActive = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class Bitmaps:
@@ -23611,8 +23645,8 @@
kServiceDisconnect = 0x09
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 10,
class HeatingSourceEnum(MatterIntEnum):
@@ -23621,8 +23655,8 @@
kNonElectric = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class LoadControlEventChangeSourceEnum(MatterIntEnum):
@@ -23630,8 +23664,8 @@
kUserAction = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class LoadControlEventStatusEnum(MatterIntEnum):
@@ -23650,8 +23684,8 @@
kFailed = 0x0C
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 13,
class Bitmaps:
@@ -24202,8 +24236,8 @@
kBanned = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class MessagePriorityEnum(MatterIntEnum):
@@ -24213,8 +24247,8 @@
kCritical = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class Bitmaps:
@@ -24552,8 +24586,8 @@
kGridOptimization = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class CauseEnum(MatterIntEnum):
@@ -24564,8 +24598,8 @@
kCancelled = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class CostTypeEnum(MatterIntEnum):
@@ -24575,8 +24609,8 @@
kTemperature = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class ESAStateEnum(MatterIntEnum):
@@ -24587,8 +24621,8 @@
kPaused = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class ESATypeEnum(MatterIntEnum):
@@ -24609,8 +24643,8 @@
kOther = 0xFF
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 14,
class ForecastUpdateReasonEnum(MatterIntEnum):
@@ -24619,8 +24653,8 @@
kGridOptimization = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class OptOutStateEnum(MatterIntEnum):
@@ -24630,8 +24664,8 @@
kOptOut = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class PowerAdjustReasonEnum(MatterIntEnum):
@@ -24640,8 +24674,8 @@
kGridOptimizationAdjustment = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Bitmaps:
@@ -25319,8 +25353,8 @@
kOther = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class FaultStateEnum(MatterIntEnum):
@@ -25343,8 +25377,8 @@
kOther = 0xFF
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 16,
class StateEnum(MatterIntEnum):
@@ -25357,8 +25391,8 @@
kFault = 0x06
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 7,
class SupplyStateEnum(MatterIntEnum):
@@ -25370,8 +25404,8 @@
kEnabled = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 6,
class Bitmaps:
@@ -26221,8 +26255,8 @@
kWaterConsumption = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class Bitmaps:
@@ -27528,8 +27562,8 @@
kForcedUser = 0x08
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class CredentialRuleEnum(MatterIntEnum):
@@ -27538,8 +27572,8 @@
kTri = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class CredentialTypeEnum(MatterIntEnum):
@@ -27554,8 +27588,8 @@
kAliroNonEvictableEndpointKey = 0x08
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 9,
class DataOperationTypeEnum(MatterIntEnum):
@@ -27564,8 +27598,8 @@
kModify = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class DlLockState(MatterIntEnum):
@@ -27575,8 +27609,8 @@
kUnlatched = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class DlLockType(MatterIntEnum):
@@ -27594,8 +27628,8 @@
kEurocylinder = 0x0B
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 12,
class DlStatus(MatterIntEnum):
@@ -27608,8 +27642,8 @@
kNotFound = 0x8B
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class DoorLockOperationEventCode(MatterIntEnum):
@@ -27630,8 +27664,8 @@
kManualUnlock = 0x0E
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 15,
class DoorLockProgrammingEventCode(MatterIntEnum):
@@ -27644,8 +27678,8 @@
kIdDeleted = 0x06
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 7,
class DoorLockSetPinOrIdStatus(MatterIntEnum):
@@ -27655,8 +27689,8 @@
kDuplicateCodeError = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class DoorLockUserStatus(MatterIntEnum):
@@ -27666,8 +27700,8 @@
kNotSupported = 0xFF
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class DoorLockUserType(MatterIntEnum):
@@ -27679,8 +27713,8 @@
kNotSupported = 0xFF
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class DoorStateEnum(MatterIntEnum):
@@ -27692,8 +27726,8 @@
kDoorAjar = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 6,
class LockDataTypeEnum(MatterIntEnum):
@@ -27713,8 +27747,8 @@
kAliroNonEvictableEndpointKey = 0x0D
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 14,
class LockOperationTypeEnum(MatterIntEnum):
@@ -27725,8 +27759,8 @@
kUnlatch = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class OperatingModeEnum(MatterIntEnum):
@@ -27737,8 +27771,8 @@
kPassage = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class OperationErrorEnum(MatterIntEnum):
@@ -27749,8 +27783,8 @@
kInsufficientBattery = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class OperationSourceEnum(MatterIntEnum):
@@ -27767,8 +27801,8 @@
kAliro = 0x0A
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 11,
class UserStatusEnum(MatterIntEnum):
@@ -27777,8 +27811,8 @@
kOccupiedDisabled = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class UserTypeEnum(MatterIntEnum):
@@ -27794,8 +27828,8 @@
kRemoteOnlyUser = 0x09
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 10,
class Bitmaps:
@@ -29577,8 +29611,8 @@
kUnknown = 0xFF
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 24,
class Type(MatterIntEnum):
@@ -29595,8 +29629,8 @@
kUnknown = 0xFF
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 10,
class Bitmaps:
@@ -30670,8 +30704,8 @@
kWorkshop = 0x5E
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 95,
class FloorSurfaceTag(MatterIntEnum):
@@ -30701,8 +30735,8 @@
kVinyl = 0x17
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 24,
class LandmarkTag(MatterIntEnum):
@@ -30759,8 +30793,8 @@
kWineCooler = 0x32
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 51,
class OperationalStatusEnum(MatterIntEnum):
@@ -30770,8 +30804,8 @@
kCompleted = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class PositionTag(MatterIntEnum):
@@ -30791,8 +30825,8 @@
kBehind = 0x0D
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 14,
class SelectLocationsStatus(MatterIntEnum):
@@ -30803,8 +30837,8 @@
kInvalidSet = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class SkipCurrentLocationStatus(MatterIntEnum):
@@ -30813,8 +30847,8 @@
kInvalidInMode = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Bitmaps:
@@ -31239,8 +31273,8 @@
kAutomatic = 0x07
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class OperationModeEnum(MatterIntEnum):
@@ -31250,8 +31284,8 @@
kLocal = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class Bitmaps:
@@ -32166,8 +32200,8 @@
kBTUh = 0x00
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 1,
class ACCompressorTypeEnum(MatterIntEnum):
@@ -32177,8 +32211,8 @@
kT3 = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class ACLouverPositionEnum(MatterIntEnum):
@@ -32189,8 +32223,8 @@
kThreeQuarters = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 0,
class ACRefrigerantTypeEnum(MatterIntEnum):
@@ -32200,8 +32234,8 @@
kR407c = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class ACTypeEnum(MatterIntEnum):
@@ -32212,8 +32246,8 @@
kHeatPumpInverter = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class ControlSequenceOfOperationEnum(MatterIntEnum):
@@ -32225,8 +32259,8 @@
kCoolingAndHeatingWithReheat = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 6,
class PresetScenarioEnum(MatterIntEnum):
@@ -32239,8 +32273,8 @@
kUserDefined = 0x06
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 7,
class SetpointChangeSourceEnum(MatterIntEnum):
@@ -32249,8 +32283,8 @@
kExternal = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class SetpointRaiseLowerModeEnum(MatterIntEnum):
@@ -32259,8 +32293,8 @@
kBoth = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class StartOfWeekEnum(MatterIntEnum):
@@ -32273,8 +32307,8 @@
kSaturday = 0x06
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 7,
class SystemModeEnum(MatterIntEnum):
@@ -32289,8 +32323,8 @@
kSleep = 0x09
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class TemperatureSetpointHoldEnum(MatterIntEnum):
@@ -32298,8 +32332,8 @@
kSetpointHoldOn = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class ThermostatRunningModeEnum(MatterIntEnum):
@@ -32308,8 +32342,8 @@
kHeat = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 1,
class Bitmaps:
@@ -33821,8 +33855,8 @@
kReverse = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class FanModeEnum(MatterIntEnum):
@@ -33835,8 +33869,8 @@
kSmart = 0x06
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 7,
class FanModeSequenceEnum(MatterIntEnum):
@@ -33848,8 +33882,8 @@
kOffHigh = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 6,
class StepDirectionEnum(MatterIntEnum):
@@ -33857,8 +33891,8 @@
kDecrease = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class Bitmaps:
@@ -34229,8 +34263,8 @@
kLockout5 = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 6,
class ScheduleProgrammingVisibilityEnum(MatterIntEnum):
@@ -34238,8 +34272,8 @@
kScheduleProgrammingDenied = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class TemperatureDisplayModeEnum(MatterIntEnum):
@@ -34247,8 +34281,8 @@
kFahrenheit = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class Attributes:
@@ -34531,8 +34565,8 @@
kActivateFromEnhancedCurrentHue = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class ColorLoopDirection(MatterIntEnum):
@@ -34540,8 +34574,8 @@
kIncrementHue = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class ColorMode(MatterIntEnum):
@@ -34550,8 +34584,8 @@
kColorTemperature = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class HueDirection(MatterIntEnum):
@@ -34561,8 +34595,8 @@
kDown = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class HueMoveMode(MatterIntEnum):
@@ -34571,8 +34605,8 @@
kDown = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class HueStepMode(MatterIntEnum):
@@ -34580,8 +34614,8 @@
kDown = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 0,
class SaturationMoveMode(MatterIntEnum):
@@ -34590,8 +34624,8 @@
kDown = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class SaturationStepMode(MatterIntEnum):
@@ -34599,8 +34633,8 @@
kDown = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 0,
class Bitmaps:
@@ -36423,8 +36457,8 @@
kCmos = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class Attributes:
@@ -37530,8 +37564,8 @@
kPhysicalContact = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class Bitmaps:
@@ -37945,8 +37979,8 @@
kCritical = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class MeasurementMediumEnum(MatterIntEnum):
@@ -37955,8 +37989,8 @@
kSoil = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class MeasurementUnitEnum(MatterIntEnum):
@@ -37970,8 +38004,8 @@
kBqm3 = 0x07
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 8,
class Bitmaps:
@@ -38311,8 +38345,8 @@
kCritical = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class MeasurementMediumEnum(MatterIntEnum):
@@ -38321,8 +38355,8 @@
kSoil = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class MeasurementUnitEnum(MatterIntEnum):
@@ -38336,8 +38370,8 @@
kBqm3 = 0x07
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 8,
class Bitmaps:
@@ -38677,8 +38711,8 @@
kCritical = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class MeasurementMediumEnum(MatterIntEnum):
@@ -38687,8 +38721,8 @@
kSoil = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class MeasurementUnitEnum(MatterIntEnum):
@@ -38702,8 +38736,8 @@
kBqm3 = 0x07
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 8,
class Bitmaps:
@@ -39043,8 +39077,8 @@
kCritical = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class MeasurementMediumEnum(MatterIntEnum):
@@ -39053,8 +39087,8 @@
kSoil = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class MeasurementUnitEnum(MatterIntEnum):
@@ -39068,8 +39102,8 @@
kBqm3 = 0x07
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 8,
class Bitmaps:
@@ -39409,8 +39443,8 @@
kCritical = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class MeasurementMediumEnum(MatterIntEnum):
@@ -39419,8 +39453,8 @@
kSoil = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class MeasurementUnitEnum(MatterIntEnum):
@@ -39434,8 +39468,8 @@
kBqm3 = 0x07
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 8,
class Bitmaps:
@@ -39775,8 +39809,8 @@
kCritical = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class MeasurementMediumEnum(MatterIntEnum):
@@ -39785,8 +39819,8 @@
kSoil = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class MeasurementUnitEnum(MatterIntEnum):
@@ -39800,8 +39834,8 @@
kBqm3 = 0x07
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 8,
class Bitmaps:
@@ -40141,8 +40175,8 @@
kCritical = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class MeasurementMediumEnum(MatterIntEnum):
@@ -40151,8 +40185,8 @@
kSoil = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class MeasurementUnitEnum(MatterIntEnum):
@@ -40166,8 +40200,8 @@
kBqm3 = 0x07
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 8,
class Bitmaps:
@@ -40507,8 +40541,8 @@
kCritical = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class MeasurementMediumEnum(MatterIntEnum):
@@ -40517,8 +40551,8 @@
kSoil = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class MeasurementUnitEnum(MatterIntEnum):
@@ -40532,8 +40566,8 @@
kBqm3 = 0x07
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 8,
class Bitmaps:
@@ -40873,8 +40907,8 @@
kCritical = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class MeasurementMediumEnum(MatterIntEnum):
@@ -40883,8 +40917,8 @@
kSoil = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class MeasurementUnitEnum(MatterIntEnum):
@@ -40898,8 +40932,8 @@
kBqm3 = 0x07
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 8,
class Bitmaps:
@@ -41239,8 +41273,8 @@
kCritical = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class MeasurementMediumEnum(MatterIntEnum):
@@ -41249,8 +41283,8 @@
kSoil = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class MeasurementUnitEnum(MatterIntEnum):
@@ -41264,8 +41298,8 @@
kBqm3 = 0x07
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 8,
class Bitmaps:
@@ -42476,16 +42510,16 @@
kOtt = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class LineupInfoTypeEnum(MatterIntEnum):
kMso = 0x00
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 1,
class StatusEnum(MatterIntEnum):
@@ -42494,8 +42528,8 @@
kNoMatches = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Bitmaps:
@@ -43017,8 +43051,8 @@
kNotAllowed = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Structs:
@@ -43293,8 +43327,8 @@
kKaraoke = 0x11
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 18,
class PlaybackStateEnum(MatterIntEnum):
@@ -43304,8 +43338,8 @@
kBuffering = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class StatusEnum(MatterIntEnum):
@@ -43317,8 +43351,8 @@
kSeekOutOfRange = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 6,
class Bitmaps:
@@ -43946,8 +43980,8 @@
kOther = 0x0B
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 12,
class Bitmaps:
@@ -44411,8 +44445,8 @@
kData = 0x76
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 14,
class StatusEnum(MatterIntEnum):
@@ -44421,8 +44455,8 @@
kInvalidKeyInCurrentState = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Bitmaps:
@@ -44611,8 +44645,8 @@
kKaraoke = 0x11
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 18,
class MetricTypeEnum(MatterIntEnum):
@@ -44620,8 +44654,8 @@
kPercentage = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class ParameterEnum(MatterIntEnum):
@@ -44644,8 +44678,8 @@
kAny = 0x10
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 17,
class StatusEnum(MatterIntEnum):
@@ -44656,8 +44690,8 @@
kAudioTrackNotAvailable = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class Bitmaps:
@@ -45023,8 +45057,8 @@
kOther = 0x05
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 6,
class Bitmaps:
@@ -45246,8 +45280,8 @@
kSystemBusy = 0x02
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 3,
class Bitmaps:
@@ -45527,8 +45561,8 @@
kActiveVisibleNotFocus = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class Structs:
@@ -46492,8 +46526,8 @@
kUnexpectedData = 0x01
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 2,
class Commands:
@@ -46761,8 +46795,8 @@
kWorkshop = 0x5E
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 95,
class Structs:
@@ -49924,8 +49958,8 @@
kValueC = 0x03
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 4,
class Bitmaps:
@@ -52402,8 +52436,8 @@
kCertFault = 0x04
# All received enum values that are not listed above will be mapped
# to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
kUnknownEnumValue = 5,
class Commands:
diff --git a/src/controller/python/templates/partials/bitmap_def.zapt b/src/controller/python/templates/partials/bitmap_def.zapt
new file mode 100644
index 0000000..00f3496
--- /dev/null
+++ b/src/controller/python/templates/partials/bitmap_def.zapt
@@ -0,0 +1,4 @@
+ class {{asType label}}(IntFlag):
+{{#zcl_bitmap_items}}
+ k{{asUpperCamelCase label}} = {{asHex mask}}
+{{/zcl_bitmap_items}}
diff --git a/src/controller/python/templates/partials/enum_def.zapt b/src/controller/python/templates/partials/enum_def.zapt
new file mode 100644
index 0000000..d806373
--- /dev/null
+++ b/src/controller/python/templates/partials/enum_def.zapt
@@ -0,0 +1,18 @@
+{{! Takes cluster (possibly "Globals") as argument, already upper-camel-cased. }}
+ class {{asType label}}(MatterIntEnum):
+{{#zcl_enum_items}}
+ k{{asUpperCamelCase label}} = {{asHex value 2}}
+{{/zcl_enum_items}}
+{{#unless (isInConfigList (concat cluster "::" label) "EnumsNotUsedAsTypeInXML")}}
+ # All received enum values that are not listed above will be mapped
+ # to kUnknownEnumValue. This is a helper enum value that should only
+ # be used by code to process how it handles receiving an unknown
+ # enum value. This specific value should never be transmitted.
+ kUnknownEnumValue = {{first_unused_enum_value mode="first_unused"}},
+{{else}}
+ # kUnknownEnumValue intentionally not defined. This enum never goes
+ # through DataModel::Decode, likely because it is a part of a derived
+ # cluster. As a result having kUnknownEnumValue in this enum is error
+ # prone, and was removed. See
+ # src/app/common/templates/config-data.yaml.
+{{/unless}}
diff --git a/src/controller/python/templates/partials/struct_def.zapt b/src/controller/python/templates/partials/struct_def.zapt
new file mode 100644
index 0000000..86e643b
--- /dev/null
+++ b/src/controller/python/templates/partials/struct_def.zapt
@@ -0,0 +1,15 @@
+{{! Takes cluster (possibly "Globals") as argument, already upper-camel-cased. }}
+ @dataclass
+ class {{asUpperCamelCase name}}(ClusterObject):
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields=[
+ {{#zcl_struct_items}}
+ ClusterObjectFieldDescriptor(Label="{{ asLowerCamelCase label }}", Tag={{ fieldIdentifier }}, Type={{zapTypeToPythonClusterObjectType type ns=../cluster}}),
+ {{/zcl_struct_items}}
+ ])
+
+ {{#zcl_struct_items}}
+ {{ asLowerCamelCase label }}: '{{zapTypeToPythonClusterObjectType type ns=../cluster}}' = {{getPythonFieldDefault type ns=../cluster}}
+ {{/zcl_struct_items}}
diff --git a/src/controller/python/templates/python-cluster-Objects-py.zapt b/src/controller/python/templates/python-cluster-Objects-py.zapt
index b5f8ed8..0aa0572 100644
--- a/src/controller/python/templates/python-cluster-Objects-py.zapt
+++ b/src/controller/python/templates/python-cluster-Objects-py.zapt
@@ -19,6 +19,33 @@
ClusterObjectDescriptor, ClusterObjectFieldDescriptor)
from .Types import Nullable, NullValue
+class Globals:
+ class Enums:
+{{#zcl_enums}}
+{{#if has_no_clusters}}
+{{> enum_def cluster="Globals"}}
+
+{{/if}}
+{{/zcl_enums}}
+ class Bitmaps:
+{{#zcl_bitmaps}}
+{{#if has_no_clusters}}
+{{! Work around https://github.com/project-chip/zap/issues/1370 and manually filter out built-in bitmap types. }}
+{{#if_is_atomic label}}
+{{else}}
+{{> bitmap_def }}
+
+{{/if_is_atomic}}
+{{/if}}
+{{/zcl_bitmaps}}
+ class Structs:
+{{#zcl_structs}}
+{{#if has_no_clusters}}
+{{> struct_def cluster="Globals"}}
+
+{{/if}}
+{{/zcl_structs}}
+
{{#zcl_clusters}}
@dataclass
@@ -50,23 +77,7 @@
{{#first}}
class Enums:
{{/first}}
- class {{asType label}}(MatterIntEnum):
-{{#zcl_enum_items}}
- k{{asUpperCamelCase label}} = {{asHex value 2}}
-{{/zcl_enum_items}}
-{{#unless (isInConfigList (concat (asUpperCamelCase ../name) "::" label) "EnumsNotUsedAsTypeInXML")}}
- # All received enum values that are not listed above will be mapped
- # to kUnknownEnumValue. This is a helper enum value that should only
- # be used by code to process how it handles receiving and unknown
- # enum value. This specific should never be transmitted.
- kUnknownEnumValue = {{first_unused_enum_value mode="first_unused"}},
-{{else}}
- # kUnknownEnumValue intentionally not defined. This enum never goes
- # through DataModel::Decode, likely because it is a part of a derived
- # cluster. As a result having kUnknownEnumValue in this enum is error
- # prone, and was removed. See
- # src/app/common/templates/config-data.yaml.
-{{/unless}}
+{{> enum_def cluster=(asUpperCamelCase ../name)}}
{{#last}}
{{/last}}
@@ -75,30 +86,14 @@
{{#first}}
class Bitmaps:
{{/first}}
- class {{asType label}}(IntFlag):
-{{#zcl_bitmap_items}}
- k{{asUpperCamelCase label}} = {{asHex mask}}
-{{/zcl_bitmap_items}}
+{{> bitmap_def }}
{{/zcl_bitmaps}}
{{#zcl_structs}}
{{#first}}
class Structs:
{{/first}}
- @dataclass
- class {{asUpperCamelCase name}}(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields=[
- {{#zcl_struct_items}}
- ClusterObjectFieldDescriptor(Label="{{ asLowerCamelCase label }}", Tag={{ fieldIdentifier }}, Type={{zapTypeToPythonClusterObjectType type ns=(asUpperCamelCase parent.parent.name)}}),
- {{/zcl_struct_items}}
- ])
-
- {{#zcl_struct_items}}
- {{ asLowerCamelCase label }}: '{{zapTypeToPythonClusterObjectType type ns=(asUpperCamelCase parent.parent.name)}}' = {{getPythonFieldDefault type ns=(asUpperCamelCase parent.parent.name)}}
- {{/zcl_struct_items}}
+{{> struct_def cluster=(asUpperCamelCase parent.name) }}
{{/zcl_structs}}
{{#zcl_commands}}
diff --git a/src/controller/python/templates/templates.json b/src/controller/python/templates/templates.json
index bffd9df..ebe67b0 100644
--- a/src/controller/python/templates/templates.json
+++ b/src/controller/python/templates/templates.json
@@ -22,8 +22,16 @@
"path": "../../../../src/app/zap-templates/partials/clusters_header.zapt"
},
{
- "name": "cluster_header",
- "path": "../../../../src/app/zap-templates/partials/cluster_header.zapt"
+ "name": "enum_def",
+ "path": "partials/enum_def.zapt"
+ },
+ {
+ "name": "bitmap_def",
+ "path": "partials/bitmap_def.zapt"
+ },
+ {
+ "name": "struct_def",
+ "path": "partials/struct_def.zapt"
}
],
"templates": [