Attribute
Default
- Default attribute structure
Edit
{
_id = 0,
cluster_id = 50,
name = "on_off",
type = "uint8_t",
is_mfg_specific = false,
mfg_code = 1,
value = "1",
formatted_value = "1",
version = 1,
}
Edit
| field | type | description |
|---|---|---|
| _id | int | attribute identifier |
| name | string | attribute name |
| type | string | attribute value type |
| is_mfg_specific | bool | is attribute manufacturer specific |
| mfg_code | int | attribute manufacturer code |
| cluster_id | int | attribute cluster ID |
| value | string | attribute value |
| formatted_value | string or table | attribute formatted value for LUA scripts |
| version | int | attribute version (Not implemented) |