homebridge-samsungtv-control2
homebridge-samsungtv-control2 copied to clipboard
UnhandledPromiseRejectionWarning: Error: Cannot add a Service with the same UUID and subtype as another Service in this Accessory.
Hi,
I got the following error:
[SamsungTVControl] Found device TV UE48JU6740 (UE48JU6740), usn: uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
(node:20302) UnhandledPromiseRejectionWarning: Error: Cannot add a Service with the same UUID 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' and subtype 'TV' as another Service in this Accessory.
at Accessory.addService (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:448:17)
at PlatformAccessory.addService (/usr/lib/node_modules/homebridge/src/platformAccessory.ts:93:41)
at SamsungTVHomebridgePlatform.registerTV (/usr/lib/node_modules/homebridge-samsungtv-control/src/platform.ts:638:40)
at HomebridgeAPI.<anonymous> (/usr/lib/node_modules/homebridge-samsungtv-control/src/platform.ts:69:14)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:20302) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:20302) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Does someone know what to do? Probably the same like #51 (I did nearly the same) Thx.
Regards.