From b62eb5f339b4c498f4de43f9524430902286c41e 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://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2477 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/11_OWDevice.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/FHEM/11_OWDevice.pm b/FHEM/11_OWDevice.pm index 25ea546ec..55aaec23d 100644 --- a/FHEM/11_OWDevice.pm +++ b/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