t0bst4r / home-assistant-matter-hub

Publish your Home-Assistant Instance using Matter.
Apache License 2.0
67 stars 1 forks source link

[Bug] Template switches not being matched #58

Open marcovolpato00 opened 3 hours ago

marcovolpato00 commented 3 hours ago

Hi, I tried adding template switches to the hub configuration but somehow they don't appear. The following is the hub configuration:

"include": [
      {
        "type": "pattern",
        "value": "switch.all_alexa"
      },
      {
        "type": "label",
        "value": "all_alexa"
      },
      {
        "type": "domain",
        "value": "switch"
      },
    ]

As you can see, I tried including all kinds of filters, but the only switches found are the one that are not templates.

BTW thank you very much for your work 😃

t0bst4r commented 3 hours ago

Did you restart the addon after adding the switch? :grinning:

marcovolpato00 commented 2 hours ago

Sorry, forgot to add that I'm using the docker image and not the addon. In any case, I've tried restarting the container but there are still no template switches