Updating the Plejd / HA Device information model to be compatible with suggested_area.

This commit is contained in:
faanskit 2021-05-07 10:59:52 +02:00
parent 7ba38d6acf
commit dc3d2237da

View file

@ -65,7 +65,7 @@ const getOutputDeviceDiscoveryPayload = (
qos: 1, qos: 1,
retain: true, retain: true,
device: { device: {
identifiers: `${device.deviceId}`, identifiers: `${device.uniqueId}`,
manufacturer: 'Plejd', manufacturer: 'Plejd',
model: device.typeName, model: device.typeName,
name: device.name, name: device.name,