From 42f412c00708ce92131c2d441598daaeb2e96960 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Thu, 18 Jan 2018 20:52:07 +0100 Subject: [PATCH] bugfix --- 74_CometBlueBTLE.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/74_CometBlueBTLE.pm b/74_CometBlueBTLE.pm index faf6eba..305d285 100644 --- a/74_CometBlueBTLE.pm +++ b/74_CometBlueBTLE.pm @@ -49,7 +49,7 @@ use JSON; use Blocking; -my $version = "0.0.4"; +my $version = "0.0.5"; @@ -544,7 +544,7 @@ sub CometBlueBTLE_ExecGatttool_Done($) { } - if( $respstate eq 'ok' and $gattCmd eq 'write' and AttrVal($name,'model','none') eq 'flowerSens' ) { + if( $respstate eq 'ok' ) { CometBlueBTLE_ProcessingNotification($hash,$gattCmd,$handle,$decode_json->{gtResult}); } else {