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@10022 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1efcef44b0
commit
07abb45886
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user