thkl / homebridge-homematic

Homematic plugin for homebridge: https://github.com/nfarina/homebridge
180 stars 51 forks source link

Valve is displayed as bulb #711

Open SebastianJonas85 opened 2 years ago

SebastianJonas85 commented 2 years ago

Describe the bug I'm using a HM-LC-Sw2-FM and a HM-LC-Sw1-FM to control a total of 3 valves. The one of HM-LC-Sw1-FM is not showing as a valve, but as a bulb.

Which Homematic Device or Service the bug is about HM-LC-Sw1-FM, "valves:" [] configuration

To Reproduce Steps to reproduce the behavior:

  1. Add devices to Homematic
  2. Add Homekit as a function to be used as subsection in the homebridge-homematic plugin
  3. Configure homebridge-homematic as follows:
    {
    "name": "HomeMatic CCU",
    "ccu_ip": "homematic-ccu2",
    "subsection": "Homekit",
    "enable_hmip": true,
    "enable_wired": false,
    "ios10": true,
    "platform": "HomeMatic",
    "valves": [
        "BidCos-RF.QEQ0048184:1",
        "BidCos-RF.PEQ1937207:1",
        "BidCos-RF.PEQ1937207:2"
    ]
    }

Actual behaviour The HM-LC-Sw1-FM with serial number QEQ0048184:1 is not shown as valve.

Expected behavior All switches that are added to the valves array should show as valves in Homekit.

Screenshots ccu

homebridge-homematic-settings

homebridge-accessories

Additional context First I thought it might be related to caching, but I already flushed the accessory cache via the configuration UI.