mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
10_FBDECT.pm: fix DECT440 buttons (Forum #118303)
git-svn-id: https://svn.fhem.de/fhem/trunk@24127 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
df3ca17d0e
commit
ad8061392f
@ -452,7 +452,7 @@ FBDECT_ParseHttp($$$)
|
||||
my ($txt,$h,$ln) = (@_);
|
||||
$txt =~ s#<([^/\s>]+?)[^/]*?>(.*?)</\g1>#
|
||||
my ($n,$c) = ($1,$2);
|
||||
$ln = makeReadingName($1) if($n eq "name" && $c =~ m/:\s*([^\s]*)$/);
|
||||
$ln = makeReadingName($1) if($n eq "name" && $c =~ m/:\s*(.*)$/);
|
||||
if($n eq "lastpressedtimestamp" && $ln) {
|
||||
$h->{"${n}_$ln"} = ($c =~ m/^\d{10}$/ ? FmtDateTime($c) : "N/A");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user