Commit e33e3332 authored by Samuel Elliott's avatar Samuel Elliott

v0.5.0

parent 03754ee2
{
"name": "homebridge-vestel-network-remote",
"version": "0.4.1",
"version": "0.5.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
......@@ -7,7 +7,7 @@
"author": {
"name": "Samuel Elliott"
},
"version": "0.4.1",
"version": "0.5.0",
"license": "MIT",
"homepage": "https://gitlab.fancy.org.uk/samuel/homebridge-vestel-network-remote",
"bugs": "https://gitlab.fancy.org.uk/samuel/homebridge-vestel-network-remote/issues",
......
......@@ -106,7 +106,7 @@ class TVPlatform {
if (!this.constructor.TVAccessory.instances) this.constructor.TVAccessory.instances = [];
if (this.constructor.TVAccessory.instances.find(a => a.expose_television_service))) {
if (this.constructor.TVAccessory.instances.find(a => a.expose_television_service)) {
this.log.warn('You have multiple TV accessories published on the same bridge. The iOS TV Remote ' +
'only allows one Television service per HAP server. You should set the external flag on at ' +
'least all but one to true or remove it.');
......
......@@ -36,6 +36,9 @@ homebridge_plugin({
registerAccessory: (package, type, accessory) => {
accessory_types[package + '.' + type] = accessory_types[type] = accessory;
},
registerPlatform: (package, type, platform) => {
// Not supported
},
}, log);
if (!accessory_types[config.accessory]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment