diff --git a/package.json b/package.json index 64df382ff..42c572c75 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "winston-transport": "^4.9.0", "ws": "^8.21.3", "zigbee-herdsman": "10.9.0", - "zigbee-herdsman-converters": "26.97.0", + "zigbee-herdsman-converters": "26.98.0", "zigbee2mqtt-frontend": "0.9.21", "zigbee2mqtt-windfront": "2.14.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e125311d1..888afaae4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -60,8 +60,8 @@ importers: specifier: 10.9.0 version: 10.9.0 zigbee-herdsman-converters: - specifier: 26.97.0 - version: 26.97.0 + specifier: 26.98.0 + version: 26.98.0 zigbee2mqtt-frontend: specifier: 0.9.21 version: 0.9.21 @@ -1392,8 +1392,8 @@ packages: utf-8-validate: optional: true - zigbee-herdsman-converters@26.97.0: - resolution: {integrity: sha512-Rt3jwZ7RhC1X5zS1HGnNNWrVwUd70STylABzEw7T0+zPPqCSZOnuigXSeCXKbfRcDIpp1iLZ9IsfatGmuAEq0A==} + zigbee-herdsman-converters@26.98.0: + resolution: {integrity: sha512-PSkYFulMXV5ugC7A9vAmPlZsM46F5plxCa7NDee41DDWgmwPRK+VtjT9fD92ExpomhuWJqs5SKSRpYfJWKS0zQ==} engines: {node: '>=20.15.0'} zigbee-herdsman@10.9.0: @@ -2575,7 +2575,7 @@ snapshots: ws@8.21.3: {} - zigbee-herdsman-converters@26.97.0: + zigbee-herdsman-converters@26.98.0: dependencies: iconv-lite: 0.7.3 semver: 7.8.5 diff --git a/test/extensions/bridge.test.ts b/test/extensions/bridge.test.ts index 4e82df515..e26ad1e3f 100644 --- a/test/extensions/bridge.test.ts +++ b/test/extensions/bridge.test.ts @@ -784,6 +784,16 @@ describe("Extension: Bridge", () => { property: "effect_color", type: "text", }, + { + access: 2, + category: "config", + description: "Initiate device identification", + label: "Identify", + name: "identify", + property: "identify", + type: "enum", + values: ["identify"], + }, { access: 1, category: "diagnostic", @@ -831,6 +841,17 @@ describe("Extension: Bridge", () => { value_min: 0, value_step: 0.1, }, + { + access: 2, + description: + "Sets the duration of the identification procedure in seconds (i.e., how long the device would flash).The value ranges from 1 to 30 seconds (default: 3).", + label: "Identify timeout", + name: "identify_timeout", + property: "identify_timeout", + type: "numeric", + value_max: 30, + value_min: 1, + }, { access: 2, description: "State actions will also be published as 'action' when true (default false).", @@ -3420,7 +3441,7 @@ describe("Extension: Bridge", () => { " model: 'lumi.plug',\n" + " vendor: '',\n" + " description: 'Automatically generated definition',\n" + - ' extend: [m.onOff({"powerOnBehavior":false})],\n' + + " extend: [m.onOff()],\n" + "};\n", }, status: "ok", diff --git a/test/extensions/frontend.test.ts b/test/extensions/frontend.test.ts index fb448d40e..435b32a2d 100644 --- a/test/extensions/frontend.test.ts +++ b/test/extensions/frontend.test.ts @@ -249,6 +249,7 @@ describe("Extension: Frontend", () => { effect: null, effect_color: null, effect_speed: null, + identify: null, power_on_behavior: null, linkquality: 20, update: {state: null, installed_version: -1, latest_version: -1}, @@ -275,6 +276,7 @@ describe("Extension: Frontend", () => { effect: null, effect_color: null, effect_speed: null, + identify: null, linkquality: 20, update: {state: null, installed_version: -1, latest_version: -1}, }, @@ -304,6 +306,7 @@ describe("Extension: Frontend", () => { effect: null, effect_color: null, effect_speed: null, + identify: null, linkquality: 20, update: {state: null, installed_version: -1, latest_version: -1}, }, diff --git a/test/extensions/homeassistant.test.ts b/test/extensions/homeassistant.test.ts index 5dbad8c66..913a4e8b0 100644 --- a/test/extensions/homeassistant.test.ts +++ b/test/extensions/homeassistant.test.ts @@ -1874,6 +1874,7 @@ describe("Extension: HomeAssistant", () => { effect: null, effect_color: null, effect_speed: null, + identify: null, linkquality: null, state: null, power_on_behavior: null, @@ -1899,6 +1900,7 @@ describe("Extension: HomeAssistant", () => { effect: null, effect_color: null, effect_speed: null, + identify: null, linkquality: null, state: null, power_on_behavior: null, @@ -1923,6 +1925,7 @@ describe("Extension: HomeAssistant", () => { effect: null, effect_color: null, effect_speed: null, + identify: null, state: "ON", power_on_behavior: null, update: {state: null, installed_version: -1, latest_version: -1}, diff --git a/test/extensions/networkMap.test.ts b/test/extensions/networkMap.test.ts index ddcb93b1b..efc298eac 100644 --- a/test/extensions/networkMap.test.ts +++ b/test/extensions/networkMap.test.ts @@ -286,7 +286,7 @@ describe("Extension: NetworkMap", () => { description: "Hue Go", model: "7146060PH", supports: - "light (state, brightness, color_temp, color_temp_startup, color_xy, color_hs), power_on_behavior, effect, effect_speed, effect_color, linkquality", + "light (state, brightness, color_temp, color_temp_startup, color_xy, color_hs), power_on_behavior, effect, effect_speed, effect_color, identify, linkquality", vendor: "Philips", }, failed: [], @@ -616,7 +616,7 @@ describe("Extension: NetworkMap", () => { description: "Hue Go", model: "7146060PH", supports: - "light (state, brightness, color_temp, color_temp_startup, color_xy, color_hs), power_on_behavior, effect, effect_speed, effect_color, linkquality", + "light (state, brightness, color_temp, color_temp_startup, color_xy, color_hs), power_on_behavior, effect, effect_speed, effect_color, identify, linkquality", vendor: "Philips", }, failed: [], @@ -785,7 +785,7 @@ describe("Extension: NetworkMap", () => { description: "Hue Go", model: "7146060PH", supports: - "light (state, brightness, color_temp, color_temp_startup, color_xy, color_hs), power_on_behavior, effect, effect_speed, effect_color, linkquality", + "light (state, brightness, color_temp, color_temp_startup, color_xy, color_hs), power_on_behavior, effect, effect_speed, effect_color, identify, linkquality", vendor: "Philips", }, failed: [],