diff --git a/74_XiaomiFlowerSens.pm b/74_XiaomiFlowerSens.pm index 48b87ed..b554bc5 100644 --- a/74_XiaomiFlowerSens.pm +++ b/74_XiaomiFlowerSens.pm @@ -47,7 +47,7 @@ use JSON; use Blocking; -my $version = "1.2.2"; +my $version = "1.2.3"; my %CallBatteryFirmwareAge = ( '8h' => 28800, '16h' => 57600, '24h' => 86400, @@ -248,6 +248,8 @@ sub XiaomiFlowerSens_Notify($$) { XiaomiFlowerSens_stateRequestTimer($hash) if( grep /^INITIALIZED$/,@{$events} or grep /^DELETEATTR.$name.disable$/,@{$events} + or grep /^DELETEATTR.$name.interval$/,@{$events} + or grep /^ATTR.$name.interval.[0-9]+/,@{$events} or (grep /^DEFINED.$name$/,@{$events} and $init_done) ); return; }