Coverage Report

Created: 2026-01-22 06:49

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/connectedhomeip/zzz_generated/app-common/clusters/PowerSource/Attributes.h
Line
Count
Source
1
/*
2
 *
3
 *    Copyright (c) 2022 Project CHIP Authors
4
 *
5
 *    Licensed under the Apache License, Version 2.0 (the "License");
6
 *    you may not use this file except in compliance with the License.
7
 *    You may obtain a copy of the License at
8
 *
9
 *        http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 *    Unless required by applicable law or agreed to in writing, software
12
 *    distributed under the License is distributed on an "AS IS" BASIS,
13
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 *    See the License for the specific language governing permissions and
15
 *    limitations under the License.
16
 */
17
18
// THIS FILE IS GENERATED BY ZAP
19
// This file is generated from clusters-Attributes.h.zapt
20
21
#pragma once
22
23
#include <app/ConcreteAttributePath.h>
24
#include <app/data-model/DecodableList.h>
25
#include <app/data-model/List.h>
26
#include <app/data-model/Nullable.h>
27
#include <app/util/basic-types.h>
28
#include <lib/core/TLV.h>
29
#include <lib/support/BitMask.h>
30
31
#include <clusters/shared/Attributes.h>
32
#include <clusters/shared/Enums.h>
33
#include <clusters/shared/Structs.h>
34
35
#include <clusters/PowerSource/AttributeIds.h>
36
#include <clusters/PowerSource/ClusterId.h>
37
#include <clusters/PowerSource/Enums.h>
38
#include <clusters/PowerSource/Structs.h>
39
40
namespace chip {
41
namespace app {
42
namespace Clusters {
43
namespace PowerSource {
44
namespace Attributes {
45
46
namespace Status {
47
struct TypeInfo
48
{
49
    using Type             = chip::app::Clusters::PowerSource::PowerSourceStatusEnum;
50
    using DecodableType    = chip::app::Clusters::PowerSource::PowerSourceStatusEnum;
51
    using DecodableArgType = chip::app::Clusters::PowerSource::PowerSourceStatusEnum;
52
53
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
54
0
    static constexpr AttributeId GetAttributeId() { return Attributes::Status::Id; }
55
0
    static constexpr bool MustUseTimedWrite() { return false; }
56
};
57
} // namespace Status
58
namespace Order {
59
struct TypeInfo
60
{
61
    using Type             = uint8_t;
62
    using DecodableType    = uint8_t;
63
    using DecodableArgType = uint8_t;
64
65
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
66
0
    static constexpr AttributeId GetAttributeId() { return Attributes::Order::Id; }
67
0
    static constexpr bool MustUseTimedWrite() { return false; }
68
};
69
} // namespace Order
70
namespace Description {
71
struct TypeInfo
72
{
73
    using Type             = chip::CharSpan;
74
    using DecodableType    = chip::CharSpan;
75
    using DecodableArgType = chip::CharSpan;
76
77
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
78
0
    static constexpr AttributeId GetAttributeId() { return Attributes::Description::Id; }
79
0
    static constexpr bool MustUseTimedWrite() { return false; }
80
0
    static constexpr size_t MaxLength() { return 60; }
81
};
82
} // namespace Description
83
namespace WiredAssessedInputVoltage {
84
struct TypeInfo
85
{
86
    using Type             = chip::app::DataModel::Nullable<uint32_t>;
87
    using DecodableType    = chip::app::DataModel::Nullable<uint32_t>;
88
    using DecodableArgType = const chip::app::DataModel::Nullable<uint32_t> &;
89
90
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
91
0
    static constexpr AttributeId GetAttributeId() { return Attributes::WiredAssessedInputVoltage::Id; }
92
0
    static constexpr bool MustUseTimedWrite() { return false; }
93
};
94
} // namespace WiredAssessedInputVoltage
95
namespace WiredAssessedInputFrequency {
96
struct TypeInfo
97
{
98
    using Type             = chip::app::DataModel::Nullable<uint16_t>;
99
    using DecodableType    = chip::app::DataModel::Nullable<uint16_t>;
100
    using DecodableArgType = const chip::app::DataModel::Nullable<uint16_t> &;
101
102
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
103
0
    static constexpr AttributeId GetAttributeId() { return Attributes::WiredAssessedInputFrequency::Id; }
104
0
    static constexpr bool MustUseTimedWrite() { return false; }
105
};
106
} // namespace WiredAssessedInputFrequency
107
namespace WiredCurrentType {
108
struct TypeInfo
109
{
110
    using Type             = chip::app::Clusters::PowerSource::WiredCurrentTypeEnum;
111
    using DecodableType    = chip::app::Clusters::PowerSource::WiredCurrentTypeEnum;
112
    using DecodableArgType = chip::app::Clusters::PowerSource::WiredCurrentTypeEnum;
113
114
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
115
0
    static constexpr AttributeId GetAttributeId() { return Attributes::WiredCurrentType::Id; }
116
0
    static constexpr bool MustUseTimedWrite() { return false; }
117
};
118
} // namespace WiredCurrentType
119
namespace WiredAssessedCurrent {
120
struct TypeInfo
121
{
122
    using Type             = chip::app::DataModel::Nullable<uint32_t>;
123
    using DecodableType    = chip::app::DataModel::Nullable<uint32_t>;
124
    using DecodableArgType = const chip::app::DataModel::Nullable<uint32_t> &;
125
126
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
127
0
    static constexpr AttributeId GetAttributeId() { return Attributes::WiredAssessedCurrent::Id; }
128
0
    static constexpr bool MustUseTimedWrite() { return false; }
129
};
130
} // namespace WiredAssessedCurrent
131
namespace WiredNominalVoltage {
132
struct TypeInfo
133
{
134
    using Type             = uint32_t;
135
    using DecodableType    = uint32_t;
136
    using DecodableArgType = uint32_t;
137
138
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
139
0
    static constexpr AttributeId GetAttributeId() { return Attributes::WiredNominalVoltage::Id; }
140
0
    static constexpr bool MustUseTimedWrite() { return false; }
141
};
142
} // namespace WiredNominalVoltage
143
namespace WiredMaximumCurrent {
144
struct TypeInfo
145
{
146
    using Type             = uint32_t;
147
    using DecodableType    = uint32_t;
148
    using DecodableArgType = uint32_t;
149
150
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
151
0
    static constexpr AttributeId GetAttributeId() { return Attributes::WiredMaximumCurrent::Id; }
152
0
    static constexpr bool MustUseTimedWrite() { return false; }
153
};
154
} // namespace WiredMaximumCurrent
155
namespace WiredPresent {
156
struct TypeInfo
157
{
158
    using Type             = bool;
159
    using DecodableType    = bool;
160
    using DecodableArgType = bool;
161
162
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
163
0
    static constexpr AttributeId GetAttributeId() { return Attributes::WiredPresent::Id; }
164
0
    static constexpr bool MustUseTimedWrite() { return false; }
165
};
166
} // namespace WiredPresent
167
namespace ActiveWiredFaults {
168
struct TypeInfo
169
{
170
    using Type             = chip::app::DataModel::List<const chip::app::Clusters::PowerSource::WiredFaultEnum>;
171
    using DecodableType    = chip::app::DataModel::DecodableList<chip::app::Clusters::PowerSource::WiredFaultEnum>;
172
    using DecodableArgType = const chip::app::DataModel::DecodableList<chip::app::Clusters::PowerSource::WiredFaultEnum> &;
173
174
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
175
0
    static constexpr AttributeId GetAttributeId() { return Attributes::ActiveWiredFaults::Id; }
176
0
    static constexpr bool MustUseTimedWrite() { return false; }
177
};
178
} // namespace ActiveWiredFaults
179
namespace BatVoltage {
180
struct TypeInfo
181
{
182
    using Type             = chip::app::DataModel::Nullable<uint32_t>;
183
    using DecodableType    = chip::app::DataModel::Nullable<uint32_t>;
184
    using DecodableArgType = const chip::app::DataModel::Nullable<uint32_t> &;
185
186
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
187
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatVoltage::Id; }
188
0
    static constexpr bool MustUseTimedWrite() { return false; }
189
};
190
} // namespace BatVoltage
191
namespace BatPercentRemaining {
192
struct TypeInfo
193
{
194
    using Type             = chip::app::DataModel::Nullable<uint8_t>;
195
    using DecodableType    = chip::app::DataModel::Nullable<uint8_t>;
196
    using DecodableArgType = const chip::app::DataModel::Nullable<uint8_t> &;
197
198
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
199
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatPercentRemaining::Id; }
200
0
    static constexpr bool MustUseTimedWrite() { return false; }
201
};
202
} // namespace BatPercentRemaining
203
namespace BatTimeRemaining {
204
struct TypeInfo
205
{
206
    using Type             = chip::app::DataModel::Nullable<uint32_t>;
207
    using DecodableType    = chip::app::DataModel::Nullable<uint32_t>;
208
    using DecodableArgType = const chip::app::DataModel::Nullable<uint32_t> &;
209
210
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
211
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatTimeRemaining::Id; }
212
0
    static constexpr bool MustUseTimedWrite() { return false; }
213
};
214
} // namespace BatTimeRemaining
215
namespace BatChargeLevel {
216
struct TypeInfo
217
{
218
    using Type             = chip::app::Clusters::PowerSource::BatChargeLevelEnum;
219
    using DecodableType    = chip::app::Clusters::PowerSource::BatChargeLevelEnum;
220
    using DecodableArgType = chip::app::Clusters::PowerSource::BatChargeLevelEnum;
221
222
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
223
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatChargeLevel::Id; }
224
0
    static constexpr bool MustUseTimedWrite() { return false; }
225
};
226
} // namespace BatChargeLevel
227
namespace BatReplacementNeeded {
228
struct TypeInfo
229
{
230
    using Type             = bool;
231
    using DecodableType    = bool;
232
    using DecodableArgType = bool;
233
234
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
235
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatReplacementNeeded::Id; }
236
0
    static constexpr bool MustUseTimedWrite() { return false; }
237
};
238
} // namespace BatReplacementNeeded
239
namespace BatReplaceability {
240
struct TypeInfo
241
{
242
    using Type             = chip::app::Clusters::PowerSource::BatReplaceabilityEnum;
243
    using DecodableType    = chip::app::Clusters::PowerSource::BatReplaceabilityEnum;
244
    using DecodableArgType = chip::app::Clusters::PowerSource::BatReplaceabilityEnum;
245
246
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
247
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatReplaceability::Id; }
248
0
    static constexpr bool MustUseTimedWrite() { return false; }
249
};
250
} // namespace BatReplaceability
251
namespace BatPresent {
252
struct TypeInfo
253
{
254
    using Type             = bool;
255
    using DecodableType    = bool;
256
    using DecodableArgType = bool;
257
258
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
259
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatPresent::Id; }
260
0
    static constexpr bool MustUseTimedWrite() { return false; }
261
};
262
} // namespace BatPresent
263
namespace ActiveBatFaults {
264
struct TypeInfo
265
{
266
    using Type             = chip::app::DataModel::List<const chip::app::Clusters::PowerSource::BatFaultEnum>;
267
    using DecodableType    = chip::app::DataModel::DecodableList<chip::app::Clusters::PowerSource::BatFaultEnum>;
268
    using DecodableArgType = const chip::app::DataModel::DecodableList<chip::app::Clusters::PowerSource::BatFaultEnum> &;
269
270
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
271
0
    static constexpr AttributeId GetAttributeId() { return Attributes::ActiveBatFaults::Id; }
272
0
    static constexpr bool MustUseTimedWrite() { return false; }
273
};
274
} // namespace ActiveBatFaults
275
namespace BatReplacementDescription {
276
struct TypeInfo
277
{
278
    using Type             = chip::CharSpan;
279
    using DecodableType    = chip::CharSpan;
280
    using DecodableArgType = chip::CharSpan;
281
282
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
283
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatReplacementDescription::Id; }
284
0
    static constexpr bool MustUseTimedWrite() { return false; }
285
0
    static constexpr size_t MaxLength() { return 60; }
286
};
287
} // namespace BatReplacementDescription
288
namespace BatCommonDesignation {
289
struct TypeInfo
290
{
291
    using Type             = chip::app::Clusters::PowerSource::BatCommonDesignationEnum;
292
    using DecodableType    = chip::app::Clusters::PowerSource::BatCommonDesignationEnum;
293
    using DecodableArgType = chip::app::Clusters::PowerSource::BatCommonDesignationEnum;
294
295
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
296
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatCommonDesignation::Id; }
297
0
    static constexpr bool MustUseTimedWrite() { return false; }
298
};
299
} // namespace BatCommonDesignation
300
namespace BatANSIDesignation {
301
struct TypeInfo
302
{
303
    using Type             = chip::CharSpan;
304
    using DecodableType    = chip::CharSpan;
305
    using DecodableArgType = chip::CharSpan;
306
307
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
308
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatANSIDesignation::Id; }
309
0
    static constexpr bool MustUseTimedWrite() { return false; }
310
0
    static constexpr size_t MaxLength() { return 20; }
311
};
312
} // namespace BatANSIDesignation
313
namespace BatIECDesignation {
314
struct TypeInfo
315
{
316
    using Type             = chip::CharSpan;
317
    using DecodableType    = chip::CharSpan;
318
    using DecodableArgType = chip::CharSpan;
319
320
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
321
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatIECDesignation::Id; }
322
0
    static constexpr bool MustUseTimedWrite() { return false; }
323
0
    static constexpr size_t MaxLength() { return 20; }
324
};
325
} // namespace BatIECDesignation
326
namespace BatApprovedChemistry {
327
struct TypeInfo
328
{
329
    using Type             = chip::app::Clusters::PowerSource::BatApprovedChemistryEnum;
330
    using DecodableType    = chip::app::Clusters::PowerSource::BatApprovedChemistryEnum;
331
    using DecodableArgType = chip::app::Clusters::PowerSource::BatApprovedChemistryEnum;
332
333
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
334
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatApprovedChemistry::Id; }
335
0
    static constexpr bool MustUseTimedWrite() { return false; }
336
};
337
} // namespace BatApprovedChemistry
338
namespace BatCapacity {
339
struct TypeInfo
340
{
341
    using Type             = uint32_t;
342
    using DecodableType    = uint32_t;
343
    using DecodableArgType = uint32_t;
344
345
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
346
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatCapacity::Id; }
347
0
    static constexpr bool MustUseTimedWrite() { return false; }
348
};
349
} // namespace BatCapacity
350
namespace BatQuantity {
351
struct TypeInfo
352
{
353
    using Type             = uint8_t;
354
    using DecodableType    = uint8_t;
355
    using DecodableArgType = uint8_t;
356
357
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
358
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatQuantity::Id; }
359
0
    static constexpr bool MustUseTimedWrite() { return false; }
360
};
361
} // namespace BatQuantity
362
namespace BatChargeState {
363
struct TypeInfo
364
{
365
    using Type             = chip::app::Clusters::PowerSource::BatChargeStateEnum;
366
    using DecodableType    = chip::app::Clusters::PowerSource::BatChargeStateEnum;
367
    using DecodableArgType = chip::app::Clusters::PowerSource::BatChargeStateEnum;
368
369
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
370
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatChargeState::Id; }
371
0
    static constexpr bool MustUseTimedWrite() { return false; }
372
};
373
} // namespace BatChargeState
374
namespace BatTimeToFullCharge {
375
struct TypeInfo
376
{
377
    using Type             = chip::app::DataModel::Nullable<uint32_t>;
378
    using DecodableType    = chip::app::DataModel::Nullable<uint32_t>;
379
    using DecodableArgType = const chip::app::DataModel::Nullable<uint32_t> &;
380
381
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
382
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatTimeToFullCharge::Id; }
383
0
    static constexpr bool MustUseTimedWrite() { return false; }
384
};
385
} // namespace BatTimeToFullCharge
386
namespace BatFunctionalWhileCharging {
387
struct TypeInfo
388
{
389
    using Type             = bool;
390
    using DecodableType    = bool;
391
    using DecodableArgType = bool;
392
393
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
394
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatFunctionalWhileCharging::Id; }
395
0
    static constexpr bool MustUseTimedWrite() { return false; }
396
};
397
} // namespace BatFunctionalWhileCharging
398
namespace BatChargingCurrent {
399
struct TypeInfo
400
{
401
    using Type             = chip::app::DataModel::Nullable<uint32_t>;
402
    using DecodableType    = chip::app::DataModel::Nullable<uint32_t>;
403
    using DecodableArgType = const chip::app::DataModel::Nullable<uint32_t> &;
404
405
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
406
0
    static constexpr AttributeId GetAttributeId() { return Attributes::BatChargingCurrent::Id; }
407
0
    static constexpr bool MustUseTimedWrite() { return false; }
408
};
409
} // namespace BatChargingCurrent
410
namespace ActiveBatChargeFaults {
411
struct TypeInfo
412
{
413
    using Type             = chip::app::DataModel::List<const chip::app::Clusters::PowerSource::BatChargeFaultEnum>;
414
    using DecodableType    = chip::app::DataModel::DecodableList<chip::app::Clusters::PowerSource::BatChargeFaultEnum>;
415
    using DecodableArgType = const chip::app::DataModel::DecodableList<chip::app::Clusters::PowerSource::BatChargeFaultEnum> &;
416
417
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
418
0
    static constexpr AttributeId GetAttributeId() { return Attributes::ActiveBatChargeFaults::Id; }
419
0
    static constexpr bool MustUseTimedWrite() { return false; }
420
};
421
} // namespace ActiveBatChargeFaults
422
namespace EndpointList {
423
struct TypeInfo
424
{
425
    using Type             = chip::app::DataModel::List<const chip::EndpointId>;
426
    using DecodableType    = chip::app::DataModel::DecodableList<chip::EndpointId>;
427
    using DecodableArgType = const chip::app::DataModel::DecodableList<chip::EndpointId> &;
428
429
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
430
0
    static constexpr AttributeId GetAttributeId() { return Attributes::EndpointList::Id; }
431
0
    static constexpr bool MustUseTimedWrite() { return false; }
432
};
433
} // namespace EndpointList
434
namespace GeneratedCommandList {
435
struct TypeInfo : public Clusters::Globals::Attributes::GeneratedCommandList::TypeInfo
436
{
437
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
438
};
439
} // namespace GeneratedCommandList
440
namespace AcceptedCommandList {
441
struct TypeInfo : public Clusters::Globals::Attributes::AcceptedCommandList::TypeInfo
442
{
443
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
444
};
445
} // namespace AcceptedCommandList
446
namespace AttributeList {
447
struct TypeInfo : public Clusters::Globals::Attributes::AttributeList::TypeInfo
448
{
449
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
450
};
451
} // namespace AttributeList
452
namespace FeatureMap {
453
struct TypeInfo : public Clusters::Globals::Attributes::FeatureMap::TypeInfo
454
{
455
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
456
};
457
} // namespace FeatureMap
458
namespace ClusterRevision {
459
struct TypeInfo : public Clusters::Globals::Attributes::ClusterRevision::TypeInfo
460
{
461
0
    static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
462
};
463
} // namespace ClusterRevision
464
465
struct TypeInfo
466
{
467
    struct DecodableType
468
    {
469
0
        static constexpr ClusterId GetClusterId() { return Clusters::PowerSource::Id; }
470
471
        CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path);
472
473
        Attributes::Status::TypeInfo::DecodableType status =
474
            static_cast<chip::app::Clusters::PowerSource::PowerSourceStatusEnum>(0);
475
        Attributes::Order::TypeInfo::DecodableType order = static_cast<uint8_t>(0);
476
        Attributes::Description::TypeInfo::DecodableType description;
477
        Attributes::WiredAssessedInputVoltage::TypeInfo::DecodableType wiredAssessedInputVoltage;
478
        Attributes::WiredAssessedInputFrequency::TypeInfo::DecodableType wiredAssessedInputFrequency;
479
        Attributes::WiredCurrentType::TypeInfo::DecodableType wiredCurrentType =
480
            static_cast<chip::app::Clusters::PowerSource::WiredCurrentTypeEnum>(0);
481
        Attributes::WiredAssessedCurrent::TypeInfo::DecodableType wiredAssessedCurrent;
482
        Attributes::WiredNominalVoltage::TypeInfo::DecodableType wiredNominalVoltage = static_cast<uint32_t>(0);
483
        Attributes::WiredMaximumCurrent::TypeInfo::DecodableType wiredMaximumCurrent = static_cast<uint32_t>(0);
484
        Attributes::WiredPresent::TypeInfo::DecodableType wiredPresent               = static_cast<bool>(0);
485
        Attributes::ActiveWiredFaults::TypeInfo::DecodableType activeWiredFaults;
486
        Attributes::BatVoltage::TypeInfo::DecodableType batVoltage;
487
        Attributes::BatPercentRemaining::TypeInfo::DecodableType batPercentRemaining;
488
        Attributes::BatTimeRemaining::TypeInfo::DecodableType batTimeRemaining;
489
        Attributes::BatChargeLevel::TypeInfo::DecodableType batChargeLevel =
490
            static_cast<chip::app::Clusters::PowerSource::BatChargeLevelEnum>(0);
491
        Attributes::BatReplacementNeeded::TypeInfo::DecodableType batReplacementNeeded = static_cast<bool>(0);
492
        Attributes::BatReplaceability::TypeInfo::DecodableType batReplaceability =
493
            static_cast<chip::app::Clusters::PowerSource::BatReplaceabilityEnum>(0);
494
        Attributes::BatPresent::TypeInfo::DecodableType batPresent = static_cast<bool>(0);
495
        Attributes::ActiveBatFaults::TypeInfo::DecodableType activeBatFaults;
496
        Attributes::BatReplacementDescription::TypeInfo::DecodableType batReplacementDescription;
497
        Attributes::BatCommonDesignation::TypeInfo::DecodableType batCommonDesignation =
498
            static_cast<chip::app::Clusters::PowerSource::BatCommonDesignationEnum>(0);
499
        Attributes::BatANSIDesignation::TypeInfo::DecodableType batANSIDesignation;
500
        Attributes::BatIECDesignation::TypeInfo::DecodableType batIECDesignation;
501
        Attributes::BatApprovedChemistry::TypeInfo::DecodableType batApprovedChemistry =
502
            static_cast<chip::app::Clusters::PowerSource::BatApprovedChemistryEnum>(0);
503
        Attributes::BatCapacity::TypeInfo::DecodableType batCapacity = static_cast<uint32_t>(0);
504
        Attributes::BatQuantity::TypeInfo::DecodableType batQuantity = static_cast<uint8_t>(0);
505
        Attributes::BatChargeState::TypeInfo::DecodableType batChargeState =
506
            static_cast<chip::app::Clusters::PowerSource::BatChargeStateEnum>(0);
507
        Attributes::BatTimeToFullCharge::TypeInfo::DecodableType batTimeToFullCharge;
508
        Attributes::BatFunctionalWhileCharging::TypeInfo::DecodableType batFunctionalWhileCharging = static_cast<bool>(0);
509
        Attributes::BatChargingCurrent::TypeInfo::DecodableType batChargingCurrent;
510
        Attributes::ActiveBatChargeFaults::TypeInfo::DecodableType activeBatChargeFaults;
511
        Attributes::EndpointList::TypeInfo::DecodableType endpointList;
512
        Attributes::GeneratedCommandList::TypeInfo::DecodableType generatedCommandList;
513
        Attributes::AcceptedCommandList::TypeInfo::DecodableType acceptedCommandList;
514
        Attributes::AttributeList::TypeInfo::DecodableType attributeList;
515
        Attributes::FeatureMap::TypeInfo::DecodableType featureMap           = static_cast<uint32_t>(0);
516
        Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast<uint16_t>(0);
517
    };
518
};
519
} // namespace Attributes
520
} // namespace PowerSource
521
} // namespace Clusters
522
} // namespace app
523
} // namespace chip