95_YAAHM.pm: Neue Version mit Bugfix

git-svn-id: https://svn.fhem.de/fhem/trunk@16731 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
phenning 2018-05-11 16:27:48 +00:00
parent 7b631e2c66
commit bba8398824

View File

@ -47,7 +47,7 @@ my $yaahmname;
my $yaahmlinkname = "Profile"; # link text
my $yaahmhiddenroom = "ProfileRoom"; # hidden room
my $yaahmpublicroom = "Unsorted"; # public room
my $yaahmversion = "1.53";
my $yaahmversion = "1.54";
my $firstcall = 1;
my %yaahm_transtable_EN = (
@ -1184,7 +1184,15 @@ sub YAAHM_time {
readingsBulkUpdate($hash,"tr_housetime",$yaahm_tt->{$targettime});
readingsBulkUpdate($hash,"housephase",$targetphase);
readingsBulkUpdate($hash,"tr_housephase",$yaahm_tt->{$targetphase});
if( $targettime eq "wakeup" ){
$hash->{DATA}{"WT"}[0]{"next"} = "";
readingsBulkUpdate($hash,"next_0","");
}elsif( $targettime eq "sleep" ){
$hash->{DATA}{"WT"}[1]{"next"} = "";
readingsBulkUpdate($hash,"next_1","");
}
readingsEndUpdate($hash,1);
YAAHM_setWeeklyTime($hash);
#-- helper function not executed, e.g. by call from external timer
return