greiginsydney / Homebridge-cbus-installer

An install script that automates the process
GNU General Public License v3.0
8 stars 4 forks source link

v2: setup script "copy" step is incorrectly handling different networks #2

Open greiginsydney opened 4 years ago

greiginsydney commented 4 years ago

The setup "copy" step code is not correctly handling different networks.

e.g. the user sees this:

"type": "dimmer", "network": 253, "id": 16, "name": "B1 LX"
Skipped: already in config.json

It has correctly reported on-screen what came from my-platform.json:

{ "type": "dimmer", "network": 253, "id": 16, "name": "B1 LX", "enabled": false },

... but it's misinterpreting this from config.json as being the same group (which it kinda is, but also isn't):

{ "type": "dimmer", "id": 16, "name": "B1 LX" },