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:
neubert
2008-12-17 19:12:12 +00:00
parent 3fbbe7eee8
commit 68a7438bd4

View File

@@ -144,7 +144,7 @@ CUL_EM_Parse($$)
# initialize 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};
} else {
$basis_cnt_last= 0;