mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
fhem.pl: add "attr xxx disabled toggle" (Forum #33124)
git-svn-id: https://svn.fhem.de/fhem/trunk@7815 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
377321f8d7
commit
c479ea3cd5
@ -2277,6 +2277,10 @@ CommandAttr($$)
|
||||
}
|
||||
}
|
||||
|
||||
if($attrName eq 'disable' and $a[2] eq 'toggle') {
|
||||
$a[2] = IsDisabled($sdev) ? 0 : 1;
|
||||
}
|
||||
|
||||
if($attrName eq "userReadings") {
|
||||
|
||||
my %userReadings;
|
||||
|
Loading…
Reference in New Issue
Block a user