How to add a new device "capability"?

okay, I just modified the custom device type I have for my door lock to have a couple of custom attributes. I can actually subscribe to those from a custom smartapp… that solves one of the small issues I’ve been fighting with.

Of course, that also opens a MASSIVE can of worms. If I put out a device type with a custom attribute of “alarmType” that reports the type of alarm CONFIGURED for the type, and then someone else writes a device type with an attribute by the same name, but reports the type of alarm actually sounding…

I guess those custom attributes should be very clearly named. Perhaps using a username or something. So… “garyd9_alarmType” instead of just “alarmType”.