Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

[Feature]: Use Labels to Select Devices #210

Closed
jvmahon opened this issue Jul 4, 2024 · 4 comments
Closed

[Feature]: Use Labels to Select Devices #210

jvmahon opened this issue Jul 4, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@jvmahon
Copy link

jvmahon commented Jul 4, 2024

Domain

All

What is actually missing?

It would be really nice if there were more of a "fine-grained" way of selecting devices that are included or excluded from the bridge.

I was thinking that HomeAssistant's new "Labels" feature might provide an easy solution. So, instead of (or in addition to), the "Include Patterns" in the dialog box, below, there was also a check box "Only Include devices labeled 'HomeBridge'" you could easily identify which devices to include. For example, if you included the domains light and switch, and then checked this box, it would also require that the device have the label "HomeBridge" in HomeAssistant.

image

@jvmahon jvmahon added the enhancement New feature or request label Jul 4, 2024
@MStankiewiczOfficial
Copy link

I was just about to write this! Exactly such a thing would be needed.
I would really appreciate it if such an option would be added.

@t0bst4r t0bst4r transferred this issue from t0bst4r/matterbridge-home-assistant-addon Jul 24, 2024
@t0bst4r
Copy link
Owner

t0bst4r commented Jul 24, 2024

Very good idea!
I'll put that on my to do list 😄

@jvmahon
Copy link
Author

jvmahon commented Jul 24, 2024

Very good idea! I'll put that on my to do list 😄

Thank you! I realize you must have a long list, so I tried to propose a simple solution. Hopefully, this is very simple code (if entity does hot have label "MatterBridge" then skip ...).

The new Label feature is a a great way to tag HomeAssistant entities for purposes like this.

@t0bst4r
Copy link
Owner

t0bst4r commented Jul 24, 2024

This will be fixed in 2.1.0-98. (currently releasing - please wait 5 more minutes)

@t0bst4r t0bst4r closed this as completed Jul 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants