73_GasCalculator.pm: notifydev definition corrected

git-svn-id: https://svn.fhem.de/fhem/trunk@16602 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Sailor
2018-04-13 17:58:19 +00:00
parent 9acefe8b1f
commit 5e9edfc2e4

View File

@@ -98,6 +98,7 @@ sub GasCalculator_Define($$$)
$hash->{REGEXP} = $RegEx;
### Writing values to global hash
notifyRegexpChanged($hash, $RegEx);
$hash->{NAME} = $name;
$hash->{STATE} = "active";
$hash->{REGEXP} = $RegEx;