initMatterDevInfo(devInfo: DevInfo, ops?: InitMatterDevInfoInterceptorOps)
Requires:
≥1.15.0
Description
Parse Matter device information and convert Matter schema/codeIds to standard DP.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Matter device information | ||
| No | Optional configuration for brightness and color-temperature ranges |
Return Value
Type: DevInfo
Converted device info
Referenced Types
type
Capabilitytype
DevAttributeValid Values
DevInfo.schema.mode
| Value | Description | Since |
|---|---|---|
rw | - | - |
ro | - | - |
wr | - | - |
DevInfo.schema.property.type
| Value | Description | Since |
|---|---|---|
string | - | - |
bool | - | - |
value | - | - |
enum | - | - |
bitmap | - | - |
raw | - | - |
DevInfo.schema.type
| Value | Description | Since |
|---|---|---|
raw | - | - |
obj | - | - |
FunConfig.tyabirysr4_app
| Value | Description | Since |
|---|---|---|
follow | - | - |
--app-B1 | - | - |
FunConfig.tyabis5d9w_app
| Value | Description | Since |
|---|---|---|
follow | - | - |
--app-M1 | - | - |