mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
73_AutoShuttersControl: change code in ShuttersCommandSet
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20223 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7cfce5f8ae
commit
51ff8ae90d
1
CHANGED
1
CHANGED
@ -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 code in ShuttersCommandSet
|
||||
- bugfix: 88_Timer: fix sort function
|
||||
- feature: 70_SolarEdgeAPI: start using "overview" API, new attributes
|
||||
- new: 88_Timer: new modul
|
||||
|
@ -338,17 +338,9 @@ sub Define($$) {
|
||||
return 'too few parameters: define <name> ShuttersControl' if ( @a != 2 );
|
||||
|
||||
my $name = $a[0];
|
||||
|
||||
$hash->{MID} = 'da39a3ee5e6b4b0d3255bfef95601890afd80709'
|
||||
; # eine Ein Eindeutige ID für interne FHEM Belange / nicht weiter wichtig
|
||||
|
||||
# ### Versionierung ###
|
||||
# Stable Version
|
||||
$hash->{VERSION} = version->parse($VERSION)->normal;
|
||||
|
||||
# Developer Version
|
||||
# $hash->{DEV_VERSION} = FHEM::Meta::Get( $hash, 'x_developmentversion' );
|
||||
|
||||
$hash->{NOTIFYDEV} = 'global,'
|
||||
. $name; # Liste aller Devices auf deren Events gehört werden sollen
|
||||
#$hash->{shutters} = $shutters;
|
||||
@ -2374,6 +2366,17 @@ sub ShuttersCommandSet($$$) {
|
||||
$shutters->setShuttersDev($shuttersDev);
|
||||
|
||||
if (
|
||||
(
|
||||
$posValue == $shutters->getShadingPos
|
||||
and (
|
||||
CheckIfShuttersWindowRecOpen($shuttersDev) == 2
|
||||
and $shutters->getShuttersPlace eq 'terrace'
|
||||
and ( $shutters->getLockOut eq 'soft'
|
||||
or $shutters->getLockOut eq 'hard' )
|
||||
and not $shutters->getQueryShuttersPos($posValue)
|
||||
)
|
||||
)
|
||||
or (
|
||||
$posValue != $shutters->getShadingPos
|
||||
and (
|
||||
(
|
||||
@ -2408,6 +2411,7 @@ sub ShuttersCommandSet($$$) {
|
||||
and $shutters->getWindProtectionStatus eq 'protected' )
|
||||
)
|
||||
)
|
||||
)
|
||||
{
|
||||
$shutters->setDelayCmd($posValue);
|
||||
$ascDev->setDelayCmdReading;
|
||||
@ -6655,8 +6659,7 @@ sub getblockAscDrivesAfterManual {
|
||||
],
|
||||
"release_status": "under develop",
|
||||
"license": "GPL_2",
|
||||
"version": "v0.6.31",
|
||||
"x_developmentversion": "v0.6.19.34",
|
||||
"version": "v0.6.32",
|
||||
"author": [
|
||||
"Marko Oldenburg <leongaultier@gmail.com>"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user