Change behavior to add all devices to Home Assistan, whether they are hidden in the Plejd app or not
This commit is contained in:
parent
42bf415fa5
commit
56870879b8
5 changed files with 2 additions and 37 deletions
|
|
@ -49,13 +49,6 @@ class DeviceRegistry {
|
|||
|
||||
/** @param outputDevice {import('types/DeviceRegistry').OutputDevice} */
|
||||
addOutputDevice(outputDevice) {
|
||||
if (outputDevice.hiddenFromIntegrations || outputDevice.hiddenFromRoomList) {
|
||||
logger.verbose(`Device ${outputDevice.name} is hidden and will not be included.
|
||||
Hidden from room list: ${outputDevice.hiddenFromRoomList}
|
||||
Hidden from integrations: ${outputDevice.hiddenFromIntegrations}`);
|
||||
return;
|
||||
}
|
||||
|
||||
this.outputDevices = {
|
||||
...this.outputDevices,
|
||||
[outputDevice.uniqueId]: outputDevice,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue