Closed sander1988 closed 1 year ago
Go for it...
Ok. I will include it in a future pull request for issue #217.
@PatchworkBoy - Do you use a specific iOS app to see those custom services? I have implemented the change using two helper functions. I want to test this. The "HAP Warning" is gone, that's for sure ;-)
Eve and Home+ by @brutella
My HomeBridge is showing a lot of HAP warnings (logged by this line of code): https://github.com/homebridge/HAP-NodeJS/blob/master/src/lib/Service.ts#L301) from Domoticz devices. For example a wind sensor. It's caused by the custom characteristics from this plugin.
These call there parent class (like https://github.com/PatchworkBoy/homebridge-edomoticz/blob/master/lib/services.js#L180) with the UUID param. But this param is never stored: https://github.com/homebridge/HAP-NodeJS/blob/master/src/lib/Characteristic.ts#L411
The warning is gone when setting the UUID in the services file like this (added the last line):
@PatchworkBoy - Do you agree? Do want me to create a merge requests with this fix for all custom characteristics?