2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 23:06:37 +00:00

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:
ra666ack 2017-04-16 07:09:03 +00:00
parent 06f99d3b52
commit c41bf0e530

View File

@ -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")