From 86f089e2cc4c49d6bd844b75ab5a5956931cd0a3 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sat, 20 Oct 2018 22:05:11 +0200 Subject: [PATCH] add Attribut deviologlevel --- 98_SmarterCoffee.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/98_SmarterCoffee.pm b/98_SmarterCoffee.pm index 7b8cc07..408d7b3 100644 --- a/98_SmarterCoffee.pm +++ b/98_SmarterCoffee.pm @@ -689,6 +689,8 @@ sub Define($$) { if ( AttrVal( $name, 'event-on-change-reading', 'none' ) eq 'none' ); CommandAttr( undef, $name . ' event-on-update-reading last_command.*' ) if ( AttrVal( $name, 'event-on-update-reading', 'none' ) eq 'none' ); + CommandAttr( undef, $name . ' devioLoglevel 4' ) + if ( AttrVal( $name, 'devioLoglevel', 'none' ) eq 'none' ); } CommandAttr( undef,