mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 07:24:21 +00:00
37_harmony.pm: fix for changed spelling in hub firmware 4.4.36
git-svn-id: https://svn.fhem.de/fhem/trunk@8472 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3b6f28f083
commit
082a684fa0
@ -984,11 +984,13 @@ harmony_Read($)
|
||||
|
||||
}
|
||||
|
||||
} elsif( $content =~ m/\?startactivity/ ) {
|
||||
if( $cdata =~ m/done=(\d*):total=(\d*):deviceId=(\d*)/ ) {
|
||||
} elsif( $content =~ m/\?startactivity/i ) {
|
||||
if( $cdata =~ m/done=(\d*):total=(\d*)(:deviceId=(\d*))?/ ) {
|
||||
my $done = $1;
|
||||
my $total = $2;
|
||||
my $id = $3;
|
||||
my $id = $4;
|
||||
|
||||
$id = "<unknown>" if( !defined($id) );
|
||||
|
||||
my $label = harmony_labelOfDevice($hash,$id,$id);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user