Update silicon_labs.ts #48083
Annotations
2 errors
|
ci
Process completed with exit code 1.
|
|
test/index.test.ts > ZHC > adds external converter with same model built-in:
test/index.test.ts#L388
AssertionError: expected { version: '0.0.0', …(13) } to strictly equal undefined
- Expected:
undefined
+ Received:
{
"configure": [Function configure],
"description": "Automatically generated definition",
"endpoint": undefined,
"exposes": [
Numeric {
"access": 5,
"category": "diagnostic",
"description": "Remaining battery in %",
"endpoint": undefined,
"features": undefined,
"homeassistant": undefined,
"label": "Battery",
"name": "battery",
"presets": undefined,
"property": "battery",
"type": "numeric",
"unit": "%",
"value_max": 100,
"value_min": 0,
"value_step": undefined,
},
],
"fromZigbee": [
{
"cluster": "genPowerCfg",
"convert": [Function convert],
"type": [
"attributeReport",
"readResponse",
],
},
],
"meta": undefined,
"model": "TS0601",
"onEvent": undefined,
"options": [],
"ota": undefined,
"toZigbee": [
{
"convertSet": [Function convertSet],
"key": [
"scene_store",
],
},
{
"convertSet": [Function convertSet],
"key": [
"scene_recall",
],
},
{
"convertSet": [Function convertSet],
"key": [
"scene_add",
],
},
{
"convertSet": [Function convertSet],
"key": [
"scene_remove",
],
},
{
"convertSet": [Function convertSet],
"key": [
"scene_remove_all",
],
},
{
"convertSet": [Function convertSet],
"key": [
"scene_rename",
],
},
{
"convertSet": [Function convertSet],
"key": [
"read",
],
},
{
"convertSet": [Function convertSet],
"key": [
"write",
],
},
{
"convertSet": [Function convertSet],
"key": [
"command",
],
},
{
"convertSet": [Function convertSet],
"key": [
"reset",
],
},
{
"convertSet": [Function convertSet],
"key": [
"zclcommand",
],
},
{
"convertGet": [Function convertGet],
"key": [
"battery",
"voltage",
],
},
],
"vendor": "_TZE28C1000000_alh14edn",
"version": "0.0.0",
"zigbeeModel": [
"TS0601",
],
}
❯ test/index.test.ts:388:36
|