« Back to Product

Documentation

IPS_SetVariableProfileIcon

 boolean IPS_SetVariableProfileIcon (string $ProfileName, string $Icon) 

Parameters

ProfileName

Name of the profile. Available profiles can be queried via IPS_GetVariableProfileList

Icon

Icon

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

This functions sets the default icon of the variable profile with the name ProfileName to Icon.

Warning

The precedence of an icon is described in detail at Icons.

Warning

Standard profiles cannot be changed. These profiles names begin with a tilde (~).

Example

IPS_SetVariableProfileIcon("Temperature",  "Temperature");
Any questions?