2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

RESIDENTStk: subroutine name

git-svn-id: https://svn.fhem.de/fhem/trunk@13880 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2017-04-02 14:24:40 +00:00
parent e46ee5be97
commit 4c5ac5bbf0

View File

@ -1801,7 +1801,8 @@ sub RESIDENTStk_GetType($;$) {
my $devname = shift;
my $default = shift;
return $default unless ( IsDevice($devname) && $defs{$devname}{TYPE} );
return $default
unless ( RESIDENTStk_IsDevice($devname) && $defs{$devname}{TYPE} );
return $defs{$devname}{TYPE};
}