From 67414076b633512bc7b4769dcbf56b897c8aa94e Mon Sep 17 00:00:00 2001 From: betateilchen Date: Thu, 26 Nov 2015 19:35:04 +0000 Subject: [PATCH] 55_GDS.pm: add gdsAlertsHeadlines() git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10014 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/55_GDS.pm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fhem/FHEM/55_GDS.pm b/fhem/FHEM/55_GDS.pm index 4f813f526..b1358d2e2 100644 --- a/fhem/FHEM/55_GDS.pm +++ b/fhem/FHEM/55_GDS.pm @@ -824,6 +824,12 @@ sub gdsHeadlines($;$) { return $text; } +sub gdsAlertsHeadlines($;$) { + my ($d,$sep) = @_; + $sep //= '|'; + return gdsHeadlines($d,$sep); +} + sub setHelp(){ return "Use one of the following commands:\n". sepLine(35)."\n". @@ -1925,6 +1931,9 @@ sub getListForecastStations($) { # ################################################################################################### # +# 2015-11-26 fixed wrong region handling +# added gdsAlertsHeadlines() +# # 2015-11-17 changed decodeCAPData - fix wrong cumulation (first try) # fixed minor bugs #