Closed julianfez closed 7 years ago
to fix your code you should change this.devices = config["devices"]; with this.devices = config["doorbells"];
also try to fix like this "for(index = 0; index < count; index++)"
and finally add in the config.json underneath the platform like this "platform": "Doorbell", "name": "doorbell",
thats it
Thx!
to fix your code you should change this.devices = config["devices"]; with this.devices = config["doorbells"];
also try to fix like this "for(index = 0; index < count; index++)"
and finally add in the config.json underneath the platform like this "platform": "Doorbell", "name": "doorbell",
thats it