98_rssFeed.pm: make use of NOTIFYDEV

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13080 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Benni 2017-01-15 08:04:43 +00:00
parent 3fd23c5f29
commit 2f67036a25

View File

@ -259,6 +259,9 @@ rssFeed_Define($$)
my $url=shift@a;
my $interval=shift @a;
#setting restrictions for event notifications
$hash->{NOTIFYDEV}="global";
if (defined($interval)) {
#if interval defined, make sure its a valid number
#and is at least 5 minutes (seconds)
@ -309,8 +312,9 @@ rssFeed_Define($$)
my $attEncoding=AttrVal($hash->{NAME},"rfEncode",undef);
$attr{$hash->{NAME}}{rfEncode}=$defaultEncoding if (!$attEncoding);
}
return undef;
}
sub