mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
10_CUL_HM:templist set to incomplete removed if register is being set.
git-svn-id: https://svn.fhem.de/fhem/trunk@15585 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
76fc4c3898
commit
9b0be9df5c
@ -4673,6 +4673,7 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
|
||||
}
|
||||
else{
|
||||
$lvl =~ s/(\d*\.?\d*).*/$1/;
|
||||
return "level not given" if($lvl == "");
|
||||
if ($cmd eq "pct"){
|
||||
}
|
||||
else{#dim [<changeValue>] ... [ontime] [ramptime]
|
||||
@ -6501,7 +6502,7 @@ sub CUL_HM_pushConfig($$$$$$$$@) {#generate messages to config data to register
|
||||
$change =~ s/00:00//;
|
||||
$change =~ s/(\ |:)//g;
|
||||
if ($nrRd){
|
||||
$chnhash->{READINGS}{$regPre.$nrn}{VAL} =~ s/00:00// #mark incomplete as wego for a change;
|
||||
$chnhash->{READINGS}{$regPre.$nrn}{VAL} =~ s/00:00//; #mark incomplete as we go for a change;
|
||||
}
|
||||
my $pN;
|
||||
$changed = 1;# yes, we did
|
||||
@ -8269,9 +8270,9 @@ sub CUL_HM_TCITRTtempReadings($$@) {# parse RT - TC-IT temperature readings
|
||||
foreach (grep !/_/,grep /tempList$ln/,keys %{$hash->{READINGS}});
|
||||
my $tempRegs = ReadingsVal($name,$regPre."RegL_0$lst.","");
|
||||
if ($tempRegs !~ m/00:00/){
|
||||
for (my $day = 0;$day<7;$day++){
|
||||
push (@changedRead,"R_$idxN{$lst}${day}_tempList".$days[$day].":incomplete");
|
||||
}
|
||||
# for (my $day = 0;$day<7;$day++){#leave days allone - state is incomplete should be enough
|
||||
# push (@changedRead,"R_$idxN{$lst}${day}_tempList".$days[$day].":incomplete");
|
||||
# }
|
||||
push (@changedRead,"R_$idxN{$lst}tempList_State:incomplete");
|
||||
CUL_HM_UpdtReadBulk($hash,1,@changedRead) if (@changedRead);
|
||||
next;
|
||||
|
Loading…
x
Reference in New Issue
Block a user