Merge branch 'feature/set-device-name-null' into develop
This commit is contained in:
commit
979adea7f0
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ const decodeTopic = (topic) => {
|
||||||
const getOutputDeviceDiscoveryPayload = (
|
const getOutputDeviceDiscoveryPayload = (
|
||||||
/** @type {import('./types/DeviceRegistry').OutputDevice} */ device,
|
/** @type {import('./types/DeviceRegistry').OutputDevice} */ device,
|
||||||
) => ({
|
) => ({
|
||||||
name: device.name,
|
name: null,
|
||||||
unique_id: device.uniqueId,
|
unique_id: device.uniqueId,
|
||||||
'~': getBaseTopic(device.uniqueId, device.type),
|
'~': getBaseTopic(device.uniqueId, device.type),
|
||||||
state_topic: `~/${TOPIC_TYPES.STATE}`,
|
state_topic: `~/${TOPIC_TYPES.STATE}`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue