mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
73_AutoShuttersControl.pm: fix SleepPosition in Fn Residents
git-svn-id: https://svn.fhem.de/fhem/trunk@21284 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b3bd5c6e40
commit
17f8fef449
@ -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.pm: fix SleepPosition in Fn Residents
|
||||||
- bugfix: 88_HMCCU: Fixed set datapoint command
|
- bugfix: 88_HMCCU: Fixed set datapoint command
|
||||||
- feature: 32_withings: initial support for ecg and heart sounds data
|
- feature: 32_withings: initial support for ecg and heart sounds data
|
||||||
- change: 49_SSCam: set compatibility to SVS version 8.2.7
|
- change: 49_SSCam: set compatibility to SVS version 8.2.7
|
||||||
|
@ -1233,7 +1233,11 @@ sub EventProcessingRoommate($@) {
|
|||||||
$posValue = (
|
$posValue = (
|
||||||
$shutters->getSleepPos > 0
|
$shutters->getSleepPos > 0
|
||||||
? $shutters->getSleepPos
|
? $shutters->getSleepPos
|
||||||
: $shutters->getClosedPos
|
: (
|
||||||
|
$shutters->getSleepPos > 0
|
||||||
|
? $shutters->getSleepPos
|
||||||
|
: $shutters->getClosedPos
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -1447,7 +1451,7 @@ sub EventProcessingResidents($@) {
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
$shutters->setLastDrive('residents come home');
|
$shutters->setLastDrive('residents come home');
|
||||||
$shutters->setDriveCmd( $shutters->getClosedPos );
|
$shutters->setDriveCmd( ($shutters->getSleepPos > 0 ? $shutters->getSleepPos : $shutters->getClosedPos) );
|
||||||
}
|
}
|
||||||
elsif (
|
elsif (
|
||||||
(
|
(
|
||||||
@ -1651,7 +1655,11 @@ sub EventProcessingWind($@) {
|
|||||||
: (
|
: (
|
||||||
$shutters->getPrivacyDownStatus == 2
|
$shutters->getPrivacyDownStatus == 2
|
||||||
? $shutters->getPrivacyDownPos
|
? $shutters->getPrivacyDownPos
|
||||||
: $shutters->getClosedPos
|
: (
|
||||||
|
$shutters->getSleepPos > 0
|
||||||
|
? $shutters->getSleepPos
|
||||||
|
: $shutters->getClosedPos
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -7897,7 +7905,7 @@ sub getblockAscDrivesAfterManual {
|
|||||||
],
|
],
|
||||||
"release_status": "testing",
|
"release_status": "testing",
|
||||||
"license": "GPL_2",
|
"license": "GPL_2",
|
||||||
"version": "v0.8.16",
|
"version": "v0.8.17",
|
||||||
"author": [
|
"author": [
|
||||||
"Marko Oldenburg <leongaultier@gmail.com>"
|
"Marko Oldenburg <leongaultier@gmail.com>"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user