mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-07 22:29:19 +00:00
bugfix for basis addition in CUL_EM (use basis reading instead of basis_cnt) (Boris 2008-12-17)
git-svn-id: https://svn.fhem.de/fhem/trunk@291 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f999fbec94
commit
e4ac75710b
@ -144,7 +144,7 @@ CUL_EM_Parse($$)
|
|||||||
|
|
||||||
# initialize basis_cnt_last
|
# initialize basis_cnt_last
|
||||||
my $basis_cnt_last;
|
my $basis_cnt_last;
|
||||||
if(defined($hash->{READINGS}{basis_cnt})) {
|
if(defined($hash->{READINGS}{basis})) {
|
||||||
$basis_cnt_last= $hash->{READINGS}{basis}{VAL};
|
$basis_cnt_last= $hash->{READINGS}{basis}{VAL};
|
||||||
} else {
|
} else {
|
||||||
$basis_cnt_last= 0;
|
$basis_cnt_last= 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user