From 1de922f39d0cb53f6b312cad1a5dc638652e94e0 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sat, 7 Jan 2017 21:06:39 +0100 Subject: [PATCH] bugfix Attribut disable --- 73_NUKIBridge.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/73_NUKIBridge.pm b/73_NUKIBridge.pm index 6dcbe74..e4e3503 100644 --- a/73_NUKIBridge.pm +++ b/73_NUKIBridge.pm @@ -164,6 +164,7 @@ sub NUKIBridge_Attr(@) { elsif( $cmd eq "del" ) { readingsSingleUpdate ( $hash, "state", "active", 1 ); + NUKIBridge_GetCheckBridgeAlive($hash); Log3 $name, 3, "NUKIBridge ($name) - enabled"; } } @@ -176,6 +177,7 @@ sub NUKIBridge_Attr(@) { elsif( $cmd eq "del" ) { readingsSingleUpdate ( $hash, "state", "active", 1 ); + NUKIBridge_GetCheckBridgeAlive($hash); Log3 $name, 3, "NUKIBridge ($name) - delete disabledForIntervals"; } }