CUL_HM:allow deleteattr for any

git-svn-id: https://svn.fhem.de/fhem/trunk@11646 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2016-06-11 10:06:00 +00:00
parent ad6bfb8ddd
commit 9a93fde724

View File

@@ -595,7 +595,7 @@ sub CUL_HM_Rename($$$) {#############################
}
sub CUL_HM_Attr(@) {#################################
my ($cmd,$name, $attrName,$attrVal) = @_;
my $chk = CUL_HM_AttrCheck($name, $attrName);
my $chk = ($cmd eq "set")?CUL_HM_AttrCheck($name, $attrName):"";
my $hash = CUL_HM_name2Hash($name);
return $chk if ($chk);