Update tuya.ts #40175
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#L414
AssertionError: expected { fingerprint: [ { …(2) } ], …(11) } to strictly equal undefined
- Expected:
undefined
+ Received:
{
"configure": [Function configureMagicPacket],
"description": "Cover Plug-in Receiver Multi STAK 3/STAS 3",
"exposes": [
Enum {
"access": 3,
"category": undefined,
"description": "Control commands",
"endpoint": undefined,
"features": undefined,
"label": "State",
"name": "state",
"property": "state",
"type": "enum",
"values": [
"open",
"stop",
"close",
"lock",
"unlock",
],
},
Cover {
"access": undefined,
"category": undefined,
"description": undefined,
"endpoint": undefined,
"features": [
Enum {
"access": 3,
"category": undefined,
"description": undefined,
"endpoint": undefined,
"features": undefined,
"label": "State",
"name": "state",
"property": "state",
"type": "enum",
"values": [
"OPEN",
"CLOSE",
"STOP",
],
},
Numeric {
"access": 3,
"category": undefined,
"description": "Position of this cover",
"endpoint": undefined,
"features": undefined,
"label": "Position",
"name": "position",
"presets": undefined,
"property": "position",
"type": "numeric",
"unit": "%",
"value_max": 100,
"value_min": 0,
"value_step": undefined,
},
],
"label": undefined,
"name": undefined,
"property": undefined,
"type": "cover",
},
Enum {
"access": 3,
"category": undefined,
"description": "Set mode",
"endpoint": undefined,
"features": undefined,
"label": "Mode",
"name": "mode",
"property": "mode",
"type": "enum",
"values": [
"up",
"up_delete",
"remove_up_down",
],
},
Enum {
"access": 3,
"category": undefined,
"description": "Set the motor running direction",
"endpoint": undefined,
"features": undefined,
"label": "Control back",
"name": "control_back",
"property": "control_back",
"type": "enum",
"values": [
"forward",
"back",
],
},
Binary {
"access": 3,
"category": undefined,
"description": "Add wireless remote",
"endpoint": undefined,
"features": undefined,
"label": "Auto power",
"name": "auto_power",
"property": "auto_power",
"type": "binary",
"value_off": false,
"value_on": true,
"value_toggle": undefined,
},
Enum {
"access": 1,
"category": undefined,
"description": "Work state",
"endpoint": undefined,
"features": undefined,
"label": "Work state",
"name": "work_state",
"property": "work_state",
"type": "enum",
"values": [
"opening",
"closing",
"123",
],
},
Numeric {
"access": 1,
"category": undefined,
"description": "Total travel time",
"endpoint": undefined,
"features": undefined,
"label": "Time total",
"name": "time_total",
"presets": undefined,
"property": "time_total",
"type": "numeric",
"unit": "s",
"value_max": 600,
"value_min": 0,
"value_step": undefined,
},
Enum {
"access": 1,
"category": undefined,
"description": "Situation of the blinds",
"endpoint": undefined,
"features": undefined,
"label": "Situation set",
"name": "situation_set",
"property": "situation_set",
"type": "enum",
"values": [
"fully_open",
"fully_close",
],
},
Binary {
"access": 1,
"category": undefined,
"description": "Motor fault",
"endpoint": undefined,
"features": undefin
|