bugfix Attribut disable

This commit is contained in:
Marko Oldenburg 2017-01-07 21:06:39 +01:00
parent 8cd909e818
commit 1de922f39d

View File

@ -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";
}
}