mirror of
https://github.com/mtan93/homebridge.git
synced 2026-04-18 14:23:08 +01:00
Set siri name based on accessory name
This commit is contained in:
@@ -39,7 +39,7 @@ GenericRS232DeviceAccessory.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getServices: function() {
|
getServices: function() {
|
||||||
var switchService = new Service.Switch();
|
var switchService = new Service.Switch(this.name);
|
||||||
var informationService = new Service.AccessoryInformation();
|
var informationService = new Service.AccessoryInformation();
|
||||||
|
|
||||||
informationService
|
informationService
|
||||||
|
|||||||
Reference in New Issue
Block a user