Returns the value stored for this device. Device values are a long value that is associated with a device. This is a general-purpose value that you can set and read. Normally, the device value holds the dim level of an X10 device.
Parameter: device
Type: string
Description: This is the house code and unit code or device code of the
device, such as "A1" or "q17".
Return value: value
Type: long
Description: This is the value stored for the device, which is usually
the dim level.