DDF Nous A1Z plug parse Tuya version number format
Furter remove A1Z (the product) from vendor field.
"schema": "devcap1.schema.json",
"manufacturername": "_TZ3000_ksw8qtmt",
"modelid": "TS011F",
- "vendor": "Nous A1Z",
+ "vendor": "Nous",
"product": "Nous A1Z plug",
"sleeper": false,
"status": "Gold",
"name": "attr/name"
},
{
- "name": "attr/swversion"
+ "name": "attr/swversion",
+ "parse": {"fn": "zcl", "ep": 1, "cl": "0x0000", "at": "0x0001", "script": "tuya_swversion.js"},
+ "read": {"fn": "zcl", "ep": 1, "cl": "0x0000", "at": "0x0001"}
},
{
"name": "attr/type"
"name": "attr/name"
},
{
- "name": "attr/swversion"
+ "name": "attr/swversion",
+ "parse": {"fn": "zcl", "ep": 1, "cl": "0x0000", "at": "0x0001", "script": "tuya_swversion.js"},
+ "read": {"fn": "none"}
},
{
"name": "attr/type"
"name": "attr/name"
},
{
- "name": "attr/swversion"
+ "name": "attr/swversion",
+ "parse": {"fn": "zcl", "ep": 1, "cl": "0x0000", "at": "0x0001", "script": "tuya_swversion.js"},
+ "read": {"fn": "none"}
},
{
"name": "attr/type"
