mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
fhem.pl: add integral keyword (Forum #33260)
git-svn-id: https://svn.fhem.de/fhem/trunk@7855 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a156828e5b
commit
c4ee22fe0b
@ -2300,7 +2300,8 @@ CommandAttr($$)
|
||||
my $perlCode= $6;
|
||||
#Log 1, sprintf("userReading %s has perlCode %s with modifier %s%s",
|
||||
# $userReading,$perlCode,$modifier,$trigger?" and trigger $trigger":"");
|
||||
if(grep { /$modifier/ } qw(none difference differential offset monotonic)) {
|
||||
if(grep { /$modifier/ }
|
||||
qw(none difference differential offset monotonic integral)) {
|
||||
$trigger =~ s/^:// if($trigger);
|
||||
$userReadings{$userReading}{trigger}= $trigger;
|
||||
$userReadings{$userReading}{modifier}= $modifier;
|
||||
|
Loading…
x
Reference in New Issue
Block a user