73_ElectricityCalculator.pm: notifydev definition corrected

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16601 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Sailor 2018-04-13 17:57:41 +00:00
parent c6efb3493d
commit 4b7d3b57a3

View File

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