mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-07 22:29:19 +00:00
55_GDS.pm: use correct function in get … headlines
git-svn-id: https://svn.fhem.de/fhem/trunk@10022 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1efcef44b0
commit
07abb45886
@ -458,8 +458,9 @@ sub GDS_Get($@) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
when("headlines"){
|
when("headlines"){
|
||||||
|
return "Error: Alerts disabled by attribute." unless AttrVal($name,'gdsUseAlerts',0);
|
||||||
$parameter //= "|";
|
$parameter //= "|";
|
||||||
return gdsHeadlines($name,$parameter);
|
return gdsAlertsHeadlines($name,$parameter);
|
||||||
}
|
}
|
||||||
|
|
||||||
when("warningsmap"){
|
when("warningsmap"){
|
||||||
@ -532,12 +533,6 @@ sub GDS_Get($@) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
when("headlines"){
|
|
||||||
return "Error: Alerts disabled by attribute." unless AttrVal($name,'gdsUseAlerts',0);
|
|
||||||
$result = gdsHeadlines($name);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
when("conditions"){
|
when("conditions"){
|
||||||
getConditions($hash, "g", @a);
|
getConditions($hash, "g", @a);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user