t0bst4r/matterbridge-home-assistant

[Bug]: Not excluding Integration

Closed this issue · 1 comments

What happened?

I am unable to exclude an Integration "alexa_media" in my config file. I have checked the integration name and it is correct.

Your configuration

{
  "homeAssistant": {
  // required:
    "url": "redacted",
    // required:
    "accessToken": "redacted",
    // optional:
    "matcher": {
      // optional: include all entities of these domains:
      "includeDomains": [
        "light",
        "switch"
      ],
      // optional: include all entities matching these entity_id patterns:
      "includePatterns": [
        ""
      ],
      // optional: include all entities having one of these labels.
      // It is important to use the slug of the label. When your label is "My Devices", the slug is most probably "my_devices".
      "includeLabels": [
        "Exposed to Alexa"
      ],
      // optional: include all entities having one of the following platforms (= integration)
      // It is important to use the slug of the platform / integration.
      "includePlatform": [
        ""
      ],
      // optional: exclude all entities of these domains:
      "excludeDomains": [
        ""
      ],
      // optional: exclude all entities matching these entity_id patterns:
      "excludePatterns": [
        "switch.power_socket_02",
        "switch.stairs_aqara_switch*",
        "switch.living_area_aqara_switch_power_outage_memory",
        "light.hallway_switch_left",
        "switch.tapo_*",
        "light.tapo_*"
      ],
      // optional: exclude all entities having one of these labels.
      // It is important to use the slug of the label. When your label is "My Devices", the slug is most probably "my_devices".
      "excludeLabels": [
        "unavailable"
      ],
      // optional: exclude all entities having one of the following platforms (= integration)
      // It is important to use the slug of the platform / integration.
      "excludePlatform": [
        "alexa_media"
      ]
    }
  }
}

Relevant log output

[17:18:47.427] [Matterbridge] Matterbridge version 1.4.0 mode  running on Linux 6.6.31+rpt-rpi-2712 linux arm64
[17:18:47.434] [MatterbridgePluginsManager] Failed to add plugin matterbridge-home-assistant: plugin already registered
[17:18:48.787] [Matterbridge] Matterbridge version 1.4.0 mode bridge restart mode docker running on Linux 6.6.31+rpt-rpi-2712 linux arm64
[17:18:49.003] [Matterbridge] The frontend http server is listening on http://10.10.10.10:8283
[17:18:49.004] [Matterbridge] The WebSocketServer is listening on ws://10.10.10.10:8283
[17:18:49.043] [Matterbridge] Loading plugin matterbridge-home-assistant type DynamicPlatform
[17:18:49.637] [Matterbridge] Loaded plugin matterbridge-home-assistant type DynamicPlatform (entrypoint /usr/local/lib/node_modules/matterbridge-home-assistant/lib/index.js)
[17:18:49.637] [Matterbridge] Starting plugin matterbridge-home-assistant type DynamicPlatform
[17:18:49.702] [Matterbridge] The plugin matterbridge-home-assistant is up to date. Current version: 2.1.2, Latest version: 2.1.2
[17:18:49.776] [Matterbridge] Added and registered bridged device (1/1) Table Lamp (MA-onofflight) for plugin matterbridge-home-assistant
[17:18:49.785] [Matterbridge] Added and registered bridged device (2/2) Dining Area Lights (MA-onofflight) for plugin matterbridge-home-assistant
[17:18:49.792] [Matterbridge] Added and registered bridged device (3/3) Living Room Lights (MA-onofflight) for plugin matterbridge-home-assistant
[17:18:49.798] [Matterbridge] Added and registered bridged device (4/4) Stairs Light (MA-onofflight) for plugin matterbridge-home-assistant
[17:18:49.805] [Matterbridge] Added and registered bridged device (5/5) Hallway Light (MA-onofflight) for plugin matterbridge-home-assistant
[17:18:49.812] [Matterbridge] Added and registered bridged device (6/6) Porch Light (MA-onofflight) for plugin matterbridge-home-assistant
[17:18:49.825] [Matterbridge] Added and registered bridged device (7/7) Back Floodlight (MA-colortemperaturelight) for plugin matterbridge-home-assistant
[17:18:49.831] [Matterbridge] Added and registered bridged device (8/8) Zigbee2MQTT Bridge Permit join (MA-onoffpluginunit) for plugin matterbridge-home-assistant
[17:18:49.838] [Matterbridge] Added and registered bridged device (9/9) zSocket-01 (MA-onoffpluginunit) for plugin matterbridge-home-assistant
[17:18:49.852] [Matterbridge] Added and registered bridged device (10/10) Laptop Socket (MA-onoffpluginunit) for plugin matterbridge-home-assistant
[17:18:49.858] [Matterbridge] Added and registered bridged device (11/11) TV Socket (MA-onoffpluginunit) for plugin matterbridge-home-assistant
[17:18:49.864] [Matterbridge] Added and registered bridged device (12/12) Kitchen Access Point (MA-onoffpluginunit) for plugin matterbridge-home-assistant
[17:18:49.870] [Matterbridge] Added and registered bridged device (13/13) Master Bedroom Light (MA-dimmablelight) for plugin matterbridge-home-assistant
[17:18:49.877] [Matterbridge] Added and registered bridged device (14/14) Echo Plus do not disturb switch (MA-onoffpluginunit) for plugin matterbridge-home-assistant
[17:18:49.883] [Matterbridge] Added and registered bridged device (15/15) Echo Plus shuffle switch (MA-onoffpluginunit) for plugin matterbridge-home-assistant
[17:18:49.890] [Matterbridge] Added and registered bridged device (16/16) Echo Plus repeat switch (MA-onoffpluginunit) for plugin matterbridge-home-assistant
[17:18:49.896] [Matterbridge] Added and registered bridged device (17/17) Echo Pop do not disturb switch (MA-onoffpluginunit) for plugin matterbridge-home-assistant
[17:18:49.903] [Matterbridge] Added and registered bridged device (18/18) Echo Pop shuffle switch (MA-onoffpluginunit) for plugin matterbridge-home-assistant
[17:18:49.909] [Matterbridge] Added and registered bridged device (19/19) Echo Pop repeat switch (MA-onoffpluginunit) for plugin matterbridge-home-assistant
[17:18:49.914] [Matterbridge] Added and registered bridged device (20/20) This Device do not disturb switch (MA-onoffpluginunit) for plugin matterbridge-home-assistant
[17:18:49.915] [Matterbridge] Started plugin matterbridge-home-assistant type DynamicPlatform

Version

2.1.2

Sorry. I had a typo in the readme. it's excludePlatforms and not excludePlatform. Same for include.
I just fixed it in the docs.