12_HProtocolTank: fix type

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18596 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
eisler 2019-02-14 13:14:54 +00:00
parent dab84b2603
commit 23f5103553

View File

@ -103,8 +103,8 @@ sub HProtocolTank_Attr (@) {
my $hash = $defs{$name};
my $msg = '';
if ($attr eq 'strappingTable') {
$attr{$name}{strappingTable} = $val;
if ($attr eq 'type') {
$attr{$name}{type} = $val;
} elsif ($attr eq 'mode') {
$attr{$name}{mode} = $val;
} elsif ($attr eq 'product') {