mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
fhem.pl: delete attributes with widget specifier
git-svn-id: https://svn.fhem.de/fhem/trunk@17238 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
03eb7d4ccc
commit
89dcef09d3
@ -3973,7 +3973,7 @@ delFromDevAttrList($$)
|
||||
$attr{$dev}{userattr} = join(" ", sort keys %hash);
|
||||
delete $attr{$dev}{userattr}
|
||||
if(!keys %hash && defined($attr{$dev}{userattr}));
|
||||
map { delete $attr{$dev}{$_} } split(" ", $arg);
|
||||
map { delete $attr{$dev}{$_} } split(" ", (split(":", $arg))[0]);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user