home-assistant-matter-hub: Problems adding devices with Include/Exclude

Hi! I’ve been trying for hours now to add more than lights. To be able to use Flic buttons I successfully, with the old bridge, use input_boolean switches and use automations for each one, which worked great. however, when trying to populate them I seem to do something wrong.

I’ve tried with patterns, labels, domains to find either just input, input_boolean* or the specific entity, but I can just find the lights entitites. What am I doing wrong?

Like this:

{
  "name": "My Hub 3",
  "port": 5543,
  "filter": {
    "include": [
      { "type": "domain", "value": "light" },
      { "type": "label", "value": "input*" }
    ],
    "exclude": [
     
 
    ]
  }
}

Or this:

{
  "name": "My Hub ny",
  "port": 5543,
  "filter": {
    "include": [
      {
        "type": "domain",
        "value": "light"
      },
      {
        "type": "domain",
        "value": "Switch ändra all belysning",
   
    ],
    "exclude": []
  }
}

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (6 by maintainers)

Commits related to this issue

Most upvoted comments

At the moment editing is not possible. I’ll create a new issue for that to track.

Yay, now Input_booleans work with alpha 10 😃

pattern switch, light and climate not working

Is there any way to modify the filter rules for the created bridge? At the moment, I only delete an create new one for adding or removing rules. Thanks

yep you are right, forgot about that. i missed some domains during the refactoring (scene, automation, script, input_boolean).

In your first example you are using the “label” type, but use a pattern as value. If you have type “label”, you have to use an existing label from home assistant. In your second example you are using type “domain” and the value seems to be the name of an entity.

To solve your problem use one of the following:

{ "type": "domain", "value": "input_boolean" }

or

{ "type": "pattern", "value": "input_boolean.*" }

or

{ "type": "pattern", "value": "input_boolean.my_specific_entity" }

Tried these… but input_boolean entities not getting imported

I think input_boolean entities are not getting imported. For me input_boolean entities are not getting imported