Skip to content

Commit 6dd812f

Browse files
committed
fix(ignore): fix 71cf2b4
1 parent 71cf2b4 commit 6dd812f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

test/extensions/homeassistant.test.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,9 +1179,9 @@ describe("Extension: HomeAssistant", () => {
11791179
command_topic: "zigbee2mqtt/0xa4c138018cf95021/left/set",
11801180
device: {
11811181
identifiers: ["zigbee2mqtt_0xa4c138018cf95021"],
1182-
manufacturer: "Lonsonho",
1183-
model: "Dual curtain/blind module",
1184-
model_id: "TS130F_dual",
1182+
manufacturer: "Girier",
1183+
model: "Dual smart curtain switch",
1184+
model_id: "TS130F_GIRIER_DUAL",
11851185
name: "0xa4c138018cf95021",
11861186
via_device: "zigbee2mqtt_bridge_0x00124b00120144ae",
11871187
},
@@ -1209,9 +1209,9 @@ describe("Extension: HomeAssistant", () => {
12091209
command_topic: "zigbee2mqtt/0xa4c138018cf95021/right/set",
12101210
device: {
12111211
identifiers: ["zigbee2mqtt_0xa4c138018cf95021"],
1212-
manufacturer: "Lonsonho",
1213-
model: "Dual curtain/blind module",
1214-
model_id: "TS130F_dual",
1212+
manufacturer: "Girier",
1213+
model: "Dual smart curtain switch",
1214+
model_id: "TS130F_GIRIER_DUAL",
12151215
name: "0xa4c138018cf95021",
12161216
via_device: "zigbee2mqtt_bridge_0x00124b00120144ae",
12171217
},
@@ -1230,6 +1230,8 @@ describe("Extension: HomeAssistant", () => {
12301230
value_template: '{% if "moving" in value_json and value_json.moving %} {{ value_json.moving }} {% else %} STOP {% endif %}',
12311231
};
12321232

1233+
console.log(mockMQTTPublishAsync.mock.calls.find((c) => c[0] === "homeassistant/cover/0xa4c138018cf95021/cover_left/config"));
1234+
12331235
expect(mockMQTTPublishAsync).toHaveBeenCalledWith("homeassistant/cover/0xa4c138018cf95021/cover_left/config", stringify(payload_left), {
12341236
retain: true,
12351237
qos: 1,

0 commit comments

Comments
 (0)