1
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-04 22:19:38 +00:00

55_GDS.pm: use correct function in get … headlines

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10022 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2015-11-27 20:55:35 +00:00
parent 32431e6646
commit 0168d3dc18

View File

@ -458,8 +458,9 @@ sub GDS_Get($@) {
}
when("headlines"){
return "Error: Alerts disabled by attribute." unless AttrVal($name,'gdsUseAlerts',0);
$parameter //= "|";
return gdsHeadlines($name,$parameter);
return gdsAlertsHeadlines($name,$parameter);
}
when("warningsmap"){
@ -532,12 +533,6 @@ sub GDS_Get($@) {
break;
}
when("headlines"){
return "Error: Alerts disabled by attribute." unless AttrVal($name,'gdsUseAlerts',0);
$result = gdsHeadlines($name);
break;
}
when("conditions"){
getConditions($hash, "g", @a);
break;