diff --git a/fhem/FHEM/73_GasCalculator.pm b/fhem/FHEM/73_GasCalculator.pm index 3710663ce..cff3d3dc4 100644 --- a/fhem/FHEM/73_GasCalculator.pm +++ b/fhem/FHEM/73_GasCalculator.pm @@ -126,10 +126,12 @@ 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";