mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-28 11:01:59 +00:00
OWTHERM.pm: Bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk@7181 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
87d433ea24
commit
4ad23672a4
@ -86,7 +86,7 @@ no warnings 'deprecated';
|
|||||||
sub Log3($$$);
|
sub Log3($$$);
|
||||||
sub AttrVal($$$);
|
sub AttrVal($$$);
|
||||||
|
|
||||||
my $owx_version="5.27";
|
my $owx_version="5.28";
|
||||||
|
|
||||||
my %gets = (
|
my %gets = (
|
||||||
"id" => "",
|
"id" => "",
|
||||||
@ -217,7 +217,7 @@ sub OWTHERM_Define ($$) {
|
|||||||
CommandAttr (undef,"$name model DS1822");
|
CommandAttr (undef,"$name model DS1822");
|
||||||
}elsif( $model eq "DS18B20" ){
|
}elsif( $model eq "DS18B20" ){
|
||||||
$fam = "28";
|
$fam = "28";
|
||||||
CommandAttr (undef,"$name model DS1822");
|
CommandAttr (undef,"$name model DS18B20");
|
||||||
}else{
|
}else{
|
||||||
return "OWTHERM: Wrong 1-Wire device model $model";
|
return "OWTHERM: Wrong 1-Wire device model $model";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user