mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
73_AutoShuttersControl: 73_AutoShuttersControl: fix typo in shuttersMode
git-svn-id: https://svn.fhem.de/fhem/trunk@18670 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5ba926307c
commit
954bd55109
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# 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.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- bugfix: 73_AutoShuttersControl: fix typo in shuttersMode
|
||||||
- changed: 14_SD_WS_Maverick: rename Readings for Temperatures
|
- changed: 14_SD_WS_Maverick: rename Readings for Temperatures
|
||||||
added state reading
|
added state reading
|
||||||
- bugfix: 41_OREGON: typo battery percent fixed. de_commandref added
|
- bugfix: 41_OREGON: typo battery percent fixed. de_commandref added
|
||||||
|
@ -41,7 +41,7 @@ package main;
|
|||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
||||||
my $version = '0.4.0.5';
|
my $version = '0.4.0.6';
|
||||||
|
|
||||||
sub AutoShuttersControl_Initialize($) {
|
sub AutoShuttersControl_Initialize($) {
|
||||||
my ($hash) = @_;
|
my ($hash) = @_;
|
||||||
@ -1249,10 +1249,10 @@ sub EventProcessingBrightness($@) {
|
|||||||
$shutters->setLastDrive('minimum brightness threshold fell below');
|
$shutters->setLastDrive('minimum brightness threshold fell below');
|
||||||
|
|
||||||
if (
|
if (
|
||||||
$shutters->getModeUp eq $homemode
|
$shutters->getModeDown eq $homemode
|
||||||
or ( $shutters->getModeUp eq 'absent'
|
or ( $shutters->getModeDown eq 'absent'
|
||||||
and $homemode eq 'gone' )
|
and $homemode eq 'gone' )
|
||||||
or $shutters->getModeUp eq 'always'
|
or $shutters->getModeDown eq 'always'
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
ShuttersCommandSet( $hash, $shuttersDev, $posValue );
|
ShuttersCommandSet( $hash, $shuttersDev, $posValue );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user