« Back to Product

Documentation

IPS_SetVariableProfileIcon

 bool IPS_SetVariableProfileIcon (string $ProfileName, string $Icon) 

Parameters

ProfileName

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

Icon

Name of the icon

Returns

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

Description

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

Warning

The precedence of icons is described in detail at Icons.

Warning

Standard profiles, which cannot be changed, start with a tilde (~).

Example

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