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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user