TypeError: Cannot read property .... Got SIGTERM, shutting down Homebridge..
Hi @merdok 

I recently changed the devices connected to my TV.
How get I changed the "new" connections to noticing by the plugin and forget the old ones?

However, I'm not sure if this is the gentle way at the moment, that the plugin complete shutdown homebridge. 😉

Thanks in advance for the help and your great work. 


```
[2020-6-13 17:01:51] TypeError: Cannot read property 'com.webos.app.hdmi1' of undefined
    at webosTvAccessory.setAppSwitchState (/usr/local/lib/node_modules/homebridge-webos-tv/index.js:1363:37)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge-webos-tv/index.js:685:30)
    at On.emit (events.js:315:20)
    at On.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/EventEmitter.js:59:38)
    at On.Characteristic._this.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Characteristic.js:356:23)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Accessory.js:938:36
    at Array.forEach (<anonymous>:null:null)
    at Bridge.Accessory._this._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Accessory.js:806:18)
    at HAPServer.emit (events.js:315:20)
    at HAPServer.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/EventEmitter.js:59:38)
    at HAPServer._this._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/HAPServer.js:718:23)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/HAPServer.js:227:39)
    at IncomingMessage.emit (events.js:315:20)
    at endReadableNT (_stream_readable.js:1221:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
[2020-6-13 17:01:51] Got SIGTERM, shutting down Homebridge...
```

```
[2020-6-13 17:05:01] [LG webOS TV] [LG webOS TV] Audio status changed
[2020-6-13 17:05:01] [LG webOS TV] [LG webOS TV] Current volume: 0
[2020-6-13 17:05:01] [LG webOS TV] [LG webOS TV] Muted: No
[2020-6-13 17:05:14] TypeError: Cannot read property 'maxdome' of undefined
    at webosTvAccessory.setAppSwitchState (/usr/local/lib/node_modules/homebridge-webos-tv/index.js:1363:37)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge-webos-tv/index.js:685:30)
    at On.emit (events.js:315:20)
    at On.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/EventEmitter.js:59:38)
    at On.Characteristic._this.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Characteristic.js:356:23)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Accessory.js:938:36
    at Array.forEach (<anonymous>:null:null)
    at Bridge.Accessory._this._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Accessory.js:806:18)
    at HAPServer.emit (events.js:315:20)
    at HAPServer.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/EventEmitter.js:59:38)
    at HAPServer._this._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/HAPServer.js:718:23)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/HAPServer.js:227:39)
    at IncomingMessage.emit (events.js:315:20)
    at endReadableNT (_stream_readable.js:1221:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
[2020-6-13 17:05:14] Got SIGTERM, shutting down Homebridge...
[2020-6-13 17:05:14] [MoodoPlatform] Shutting down connections...
[2020-6-13 17:05:14] [HarmonyHub] INFO - shutdown
```