Documentation
Legacy Profile
Require: Symcon >= 8.0
Parameter
Information on the visual properties and meanings of the parameters can be found in the Object Presentation.
| Name | Type | Parameter | Description |
|---|---|---|---|
| PRESENTATION | String | The ID of the presentation | VARIABLE_PRESENTATION_LEGACY {4153A8D4-5C33-C65F-C1F3-7B61AAF99B1C} |
| PROFILE | String | Profile | Variable Profiles |
Examples
// When registering a variable for PHP modules
$this->RegisterVariableFloat('Temperature', 'Temperature', [
'PRESENTATION' => VARIABLE_PRESENTATION_LEGACY,
'PROFILE' => '~Temperature',
]);
// For existing variables via script
IPS_SetVariableCustomPresentation(12345, [
'PRESENTATION' => VARIABLE_PRESENTATION_LEGACY,
'PROFILE' => '~Temperature',
]);