This function is the same as the DeviceValue function, except that you pass this function the text name of the device.
Parameter: device_name
Type: string
Description: This is the name of the device and must contain both the location
and name. If
the device was named lamp and its location was living room,
then the device_name
parameter would be living room lamp.
Return value: device
value
Type: long
Description: This returns the value
associated with the device.