From 294269e6b4a8b2589e50c94d3c3ebf9f3e1a9d9c Mon Sep 17 00:00:00 2001 From: ra666ack <> Date: Sun, 16 Apr 2017 07:09:03 +0000 Subject: [PATCH] 71_PHILIPS_AUDIO: Player readings fix. git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14004 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/71_PHILIPS_AUDIO.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/FHEM/71_PHILIPS_AUDIO.pm b/FHEM/71_PHILIPS_AUDIO.pm index c1bd1cf72..9ed475775 100755 --- a/FHEM/71_PHILIPS_AUDIO.pm +++ b/FHEM/71_PHILIPS_AUDIO.pm @@ -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")