71_PHILIPS_AUDIO: Player readings fix.
git-svn-id: https://svn.fhem.de/fhem/trunk@14004 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -1617,16 +1617,14 @@ sub PHILIPS_AUDIO_ParseResponse
|
||||
}
|
||||
else
|
||||
{
|
||||
readingsBulkUpdate($hash, "playerPlaying", "no");
|
||||
delete $hash->{READINGS}{$_} foreach (grep /player/, keys %{$hash->{READINGS}});
|
||||
#readingsBulkUpdate($hash, "input", "-");
|
||||
readingsBulkUpdate($hash, "playerPlaying", "no");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
readingsBulkUpdate($hash, "playerPlaying", "no");
|
||||
delete $hash->{READINGS}{$_} foreach (grep /player/, keys %{$hash->{READINGS}});
|
||||
#readingsBulkUpdate($hash, "input", "-");
|
||||
readingsBulkUpdate($hash, "playerPlaying", "no");
|
||||
}
|
||||
}
|
||||
elsif($cmd eq "homestatus")
|
||||
|
||||
Reference in New Issue
Block a user