mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@21430 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
67485a45ec
commit
79cc79923f
@ -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: 98_WeekdayTimer: prevent crashes related to weekprofile changes
|
||||
- bugfix: 93_DbRep: fix user rights check for index operation
|
||||
- bugfix: 73_AutoShuttersControl: fix SleepPos conditions in residents
|
||||
and roommates Fn
|
||||
|
@ -71,6 +71,10 @@ sub WeekdayTimer_Define($$) {
|
||||
$hash->{NAME} = $name;
|
||||
$hash->{DEVICE} = $device;
|
||||
my $language = WeekdayTimer_Language ($hash, \@a);
|
||||
|
||||
if ($def =~ /weekprofile/gm) {
|
||||
addToDevAttrList($name, "weekprofile");
|
||||
}
|
||||
|
||||
InternalTimer(time(), "WeekdayTimer_Start",$hash,0);
|
||||
|
||||
@ -178,6 +182,7 @@ sub WeekdayTimer_Set($@) {
|
||||
} elsif ($v =~ /weekprofile ([^: ]+):([^:]+):([^: ]+)\b/) {
|
||||
Log3 $hash, 3, "[$name] set $name $v";
|
||||
return unless WeekdayTimer_UpdateWeekprofileReading($hash, $1, $2, $3);
|
||||
WeekdayTimer_DeleteTimer($hash);
|
||||
WeekdayTimer_Start($hash);
|
||||
}
|
||||
return undef;
|
||||
@ -1444,7 +1449,8 @@ sub WeekdayTimer_GetWeekprofileReadingTriplett($$) {
|
||||
<code>set myWeekprofiles send_to_device holiday:livingrooms wd</code><br>
|
||||
</li><br>
|
||||
<li>Although it's possible to use more than one weekprofile device in a WeekdayTimer, this is explicitly not recommended despite you are exactly knwowing what you are doing.</li><br>
|
||||
</ul>
|
||||
<li>Note: The userattr <i>weekprofile</i> will automatically be added to the list and can't be removed. The attribute itself is intended to be set to the corresponding profile name in your weekprofile device allowing easy change using the topic feature.</li><br>
|
||||
</ul>
|
||||
</ul>
|
||||
</ul>
|
||||
<a name="WeekdayTimerget"></a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user