mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 12:58:13 +00:00
98_rssFeed.pm: make use of NOTIFYDEV
git-svn-id: https://svn.fhem.de/fhem/trunk@13080 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ebee30edcc
commit
9e337e1e12
@ -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)
|
||||
@ -311,6 +314,7 @@ rssFeed_Define($$)
|
||||
}
|
||||
|
||||
return undef;
|
||||
|
||||
}
|
||||
|
||||
sub
|
||||
|
Loading…
x
Reference in New Issue
Block a user