From c7540c2110de65907daf5d0e748f94e1fa113ebc Mon Sep 17 00:00:00 2001 From: borisneubert <> Date: Fri, 11 Jan 2013 20:13:37 +0000 Subject: [PATCH] added lost changes from revision 2467 git-svn-id: https://svn.fhem.de/fhem/trunk@2477 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/11_OWDevice.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/11_OWDevice.pm b/fhem/FHEM/11_OWDevice.pm index 25ea546ec..55aaec23d 100644 --- a/fhem/FHEM/11_OWDevice.pm +++ b/fhem/FHEM/11_OWDevice.pm @@ -25,6 +25,7 @@ # Todos: # - stateFormat via Interface +# - warum wird jeder Wert 2x geloggt? package main; @@ -336,9 +337,9 @@ OWDevice_Initialize($) $hash->{GetFn} = "OWDevice_Get"; $hash->{SetFn} = "OWDevice_Set"; $hash->{DefFn} = "OWDevice_Define"; - $hash->{AttrFn} = "OWDevice_Attr"; + $hash->{AttrFn} = "OWDevice_Attr"; - $hash->{AttrList} = "trimvalues polls interfaces model loglevel:0,1,2,3,4,5 ". + $hash->{AttrList} = "IODev trimvalues polls interfaces model loglevel:0,1,2,3,4,5 ". $readingFnAttributes; } @@ -704,6 +705,14 @@ OWDevice_Define($$) Attributes