mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
Handle where no model is returned from Telldus Live
This commit is contained in:
@@ -58,7 +58,7 @@ var TelldusLiveAccessory = function TelldusLiveAccessory(log, cloud, device) {
|
||||
this.log = log;
|
||||
this.cloud = cloud;
|
||||
|
||||
var m = device.model.split(':');
|
||||
var m = device.model ? device.model.split(':') : ['unknown', 'unknown'] ;
|
||||
|
||||
// Set accessory info
|
||||
this.device = device;
|
||||
|
||||
Reference in New Issue
Block a user