testing #29

Merged
marko merged 73 commits from testing into main 2023-01-07 12:49:01 +00:00
Showing only changes of commit 82a7b06021 - Show all commits

View File

@ -737,7 +737,12 @@ sub Weather_Notify {
Weather_GetUpdate($hash);
}
return if ( !grep { /^INITIALIZED|REREADCFG$/x } @{ $dev->{CHANGED} } );
return
if (
!grep {
/^INITIALIZED|REREADCFG|DELETEATTR.$name.disable|ATTR.$name.disable.[0-1]$/x
} @{ $dev->{CHANGED} }
);
# update weather after initialization or change of configuration
# wait 10 to 29 seconds to avoid congestion due to concurrent activities