change shading info message

to warn message
This commit is contained in:
2020-06-24 08:11:42 +02:00
parent ad1c541891
commit af727cd2f2
3 changed files with 20 additions and 7 deletions

View File

@ -4963,12 +4963,6 @@ sub _CheckShuttersConditionsForShadingFn {
my $warnMessage;
my $infoMessage;
$infoMessage .= (
$shutters->getShadingMode eq 'off'
&& $ascDev->getAutoShuttersControlShading eq 'on'
? ' global shading active but ASC_Shading_Mode attribut is not set or off'
: ''
);
$infoMessage .= (
$shutters->getShadingMode ne 'off'
@ -4978,6 +4972,13 @@ sub _CheckShuttersConditionsForShadingFn {
: ''
);
$warnMessage .= (
$shutters->getShadingMode eq 'off'
&& $ascDev->getAutoShuttersControlShading eq 'on'
? ' global shading active but ASC_Shading_Mode attribut is not set or off'
: ''
);
$errorMessage .= (
$shutters->getShadingMode ne 'off'
&& $ascDev->getAutoShuttersControlShading ne 'on'