73_WaterCalculator.pm: notifydev definition corrected

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16603 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Sailor 2018-04-13 17:58:42 +00:00
parent b1db4e008f
commit 2fd2e09766

View File

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