diff --git a/FHEM/73_ElectricityCalculator.pm b/FHEM/73_ElectricityCalculator.pm index 60d7dd340..f17e06c57 100644 --- a/FHEM/73_ElectricityCalculator.pm +++ b/FHEM/73_ElectricityCalculator.pm @@ -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;