Skip to main content
Skip table of contents

Device Value Graphic Pairs

Devices hold a value property (float) that is normally used to hold the dim level of X10 devices. It may be desirable to use the value to represent status in the device. It's possible to assign graphic->value pairs to a device. When this is done, the status as displayed for the device will include the graphic matching the device's current value.


To assign the graphic->value pairs to a device, use the function call hs.DeviceVGP_AddPair. To use the function, call:

hs.DeviceVGP_AddPair(dvRef, Pair)

Where:

dvRef = device reference # to set values to

Pair = graphic value pairs formatted in the class VGPair

  

  • The setting is saved in the configuration database so the call only needs to be made during some initialization.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.