antoninguyot / homebridge-livebox-tv

Control your Livebox TV from HomeKit
Apache License 2.0
1 stars 0 forks source link

Platform entry must be unique #2

Open stanislaspiron opened 1 year ago

stanislaspiron commented 1 year ago

Describe The Bug:

when I migrated from accessory to platform, I have following log message:

The dynamic platform Livebox from the plugin homebridge-livebox-tv seems to be configured multiple times in your config.json. This behaviour was deprecated in homebridge v1.0.0 and will be removed in v2.0.0!

To Reproduce:

configure 2 llivebox platform entries:

        {
            "ip": "192.168.1.96",
            "platform": "Livebox"
        },
        {
            "ip": "192.168.1.94",
            "platform": "Livebox"
        }

Expected behavior:

support a list for devices in platform entry:

        {
            "platform": "Livebox",
            "tvs": [
                {
                     "ip": "192.168.1.94"
                },
                {
                     "ip": "192.168.1.99"
                }
            ]
        }

Environment: