From 0baf7d6a4cf9480178ae80dc62eb252c6a75419d Mon Sep 17 00:00:00 2001 From: Leslie Fernando Date: Sat, 4 Oct 2025 12:54:16 +0530 Subject: [PATCH] Fix spelling: Change 'ip_adresses' to 'ip_addresses' in Matter integration - Fixed TypeScript interface property name (matter.ts) - Updated translation key reference (ha-device-info-matter.ts) - Corrected English translation text (en.json) - Improves code consistency and correct spelling --- src/data/matter.ts | 2 +- .../integration-elements/matter/ha-device-info-matter.ts | 4 ++-- src/translations/en.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data/matter.ts b/src/data/matter.ts index e67b2e51727b..2e3521cca724 100644 --- a/src/data/matter.ts +++ b/src/data/matter.ts @@ -33,7 +33,7 @@ export interface MatterNodeDiagnostics { network_type: NetworkType; node_type: NodeType; network_name?: string; - ip_adresses: string[]; + ip_addresses: string[]; mac_address?: string; available: boolean; active_fabrics: MatterFabricData[]; diff --git a/src/panels/config/devices/device-detail/integration-elements/matter/ha-device-info-matter.ts b/src/panels/config/devices/device-detail/integration-elements/matter/ha-device-info-matter.ts index 61eebe46112a..fcc6d8321130 100644 --- a/src/panels/config/devices/device-detail/integration-elements/matter/ha-device-info-matter.ts +++ b/src/panels/config/devices/device-detail/integration-elements/matter/ha-device-info-matter.ts @@ -114,11 +114,11 @@ export class HaDeviceInfoMatter extends SubscribeMixin(LitElement) {
${this.hass.localize( - "ui.panel.config.matter.device_info.ip_adresses" + "ui.panel.config.matter.device_info.ip_addresses" )}: ${this._nodeDiagnostics.ip_adresses.map( + >${this._nodeDiagnostics.ip_addresses.map( (ip) => html`${ip}
` )}
diff --git a/src/translations/en.json b/src/translations/en.json index b18cdd8808ff..a058446a3452 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -6587,7 +6587,7 @@ "network_type": "Network type", "node_type": "Device type", "network_name": "Network name", - "ip_adresses": "IP address(es)", + "ip_addresses": "IP address(es)", "mac_address": "MAC address", "available": "Available?" },