2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-09 14:47:00 +00:00

73_AutoShuttersControl: change Shading reading message

git-svn-id: https://svn.fhem.de/fhem/trunk@22248 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2020-06-24 06:16:35 +00:00
parent a13527bb85
commit cba95614b5
3 changed files with 9 additions and 7 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: 73_AutoShuttersControl: change shading reading message
- feature: 76_SMAPortal: upgrade to V3. This version is not compatible to
prior V2. Attributes and Readings are changed.
!!! Please read new commandref !!!

View File

@ -1272,7 +1272,7 @@ sub Initialize {
],
"release_status": "testing",
"license": "GPL_2",
"version": "v0.10",
"version": "v0.10.1",
"author": [
"Marko Oldenburg <leongaultier@gmail.com>"
],

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'