SetDeviceValueByName

Purpose

This function is the same as SetDeviceValue except you pass this function the actual text name of the device.

Parameters

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, the device_name parameter would be living room lamp.

Parameter: value
Type:
long

Returns

None.