mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +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:
parent
06f99d3b52
commit
c41bf0e530
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user