Skip to content

Ignore disabled amazon-echo-device nodes at discovery - #219

Open
GrisuLychen wants to merge 1 commit into
datech:masterfrom
GrisuLychen:fix/ignore-disabled-echo-devices
Open

GrisuLychen wants to merge 1 commit into
datech:masterfrom
GrisuLychen:fix/ignore-disabled-echo-devices

Conversation

@GrisuLychen

Copy link
Copy Markdown
Contributor

Summary:
This change excludes disabled amazon-echo-device nodes from discovery output.

Problem:
Disabled echo device nodes were still returned by getDevices(), so they could continue to appear in the emulated Hue device list even when the user had disabled them in Node-RED.

Changes:

  • filter getDevices() to only include active amazon-echo-device nodes
  • skip nodes marked as disabled

Result:
Disabled amazon-echo-device nodes are no longer exposed to discovery clients such as Alexa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant