HAP
HAP copied to clipboard
Added public label to the HAP.Service
Helps to distinguish services of the same type that are part of the same accessory
Can you describe the use-case for this change?
I have several custom Accessories that often have more than one service of a particular type, for instance, I have an accessory for my electric car that has two Switches associated with it, one to start charging and one to start the airconditioning. When I handle events in the delegate I needed to be able to differentiate between the two. It's also really handy for debugging purposes.