2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

73_GasCalculator.pm: NotifyDev trigger fixed: notifyRegexpChanged

git-svn-id: https://svn.fhem.de/fhem/trunk@21327 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Sailor 2020-03-01 18:06:58 +00:00
parent 92f91d97ae
commit 559965b64c

View File

@ -126,9 +126,11 @@ sub GasCalculator_Define($$$)
$hash->{system}{DecimalPlace} = "%.3f";
}
### Defining notify trigger
$hash->{NOTIFYDEV} = $RegEx;
### For debugging purpose only
Log3 $name, 5, $name. " : GasCalculator - RegEx : " . $RegEx;
### Defining notify trigger
notifyRegexpChanged($hash, $RegEx);
### Writing log entry
Log3 $name, 5, $name. " : GasCalculator - Starting to define module";