Device attributes describe each device, and like the event attributes in Appendix A, Event Attributes not all attributes will apply to every device. We use device attributes to extract bits of information in the following places:
Your programming context determines how you access the device attributes. For example, we can substitute the device attributes in our Python statements via TALES expressions.
An example of a TALES expression to access a device attribute looks like this:
So if we wanted to write a TALES expression to access the name of the device, the expression would look like ...