diff --git a/fhem/FHEM/99_Utils.pm b/fhem/FHEM/99_Utils.pm index e771dfcbe..064a08961 100644 --- a/fhem/FHEM/99_Utils.pm +++ b/fhem/FHEM/99_Utils.pm @@ -146,7 +146,7 @@ sub UntoggleDirect($) sub UntoggleIndirect($$$) { my ($sender, $actor, $dimvalue) = @_; - Log 4, "UntoggleDirect($sender, $actor, $dimvalue)"; + Log 4, "UntoggleIndirect($sender, $actor, $dimvalue)"; if (Value($sender) eq "toggle") { if (Value($actor) eq "off") {fhem ("set ".$actor." on")} @@ -171,3 +171,71 @@ sub UntoggleIndirect($$$) 1; + +=pod +=begin html + + +
+# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +# IMPORTANT: do not insert your own functions inside +# the file 99_Utils.pm! +# +# This file will be overwritten during an FHEM update and all +# your own inserts will be lost. +# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +# +# To avoid this, we recommend following procedure: +# +# 1. Create your own file 99_myUtils.pm from the template below +# 2. Put this file inside the ./FHEM directory +# 3. Put your own functions into this new file +# ++ + Defined functions
++# start-of-template +package main; + +use strict; +use warnings; +use POSIX; + +sub +myUtils_Initialize($$) +{ + my ($hash) = @_; +} + +# start with your own functions below this line + + +# behind your last function, we need the following +1; +# end-of-template +
+