From dc3d2237da2fbd1a2ba427239f9496efc50faaa2 Mon Sep 17 00:00:00 2001 From: faanskit Date: Fri, 7 May 2021 10:59:52 +0200 Subject: [PATCH] Updating the Plejd / HA Device information model to be compatible with suggested_area. --- plejd/MqttClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plejd/MqttClient.js b/plejd/MqttClient.js index d10840b..47c7d92 100644 --- a/plejd/MqttClient.js +++ b/plejd/MqttClient.js @@ -65,7 +65,7 @@ const getOutputDeviceDiscoveryPayload = ( qos: 1, retain: true, device: { - identifiers: `${device.deviceId}`, + identifiers: `${device.uniqueId}`, manufacturer: 'Plejd', model: device.typeName, name: device.name,