mgcrea / homebridge-tydom

Homebridge plugin to manage Tydom hardware by Delta Dore from Apple HomeKit.
62 stars 13 forks source link

Category override not working #145

Open cooper-crockett opened 4 months ago

cooper-crockett commented 4 months ago

When i try to override an accessory category nothing happens and my accessory is still marked as when it is created.

For example i have an accessory originally listed as "contact sensor", i want to redefine it as "window" but my accessory is still marked as "contact sensor" in homebridge.

Here you can find the way i override my accessory category in config.json :

[...]
{
  "hostname": "mediation.tydom.com",
  "username": "*********",
  "password": "*********",
  "debug": true,
  "platform": "Tydom",
  "settings": {
    "1708183466": {
      "category": 12
    },
    "1708247851": {
      "category": 13
    }
  }
}
[...]

I get the deviceId from logs :

[...]
[Tydom] Adding new device [...]
[Tydom] Found new device with [...], deviceId=1708247851 [...]
[Tydom] Updating accessory named=[...]
[...]

I restarted homebridge.

Versions

Additional context