mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-28 11:01:59 +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
|
else
|
||||||
{
|
{
|
||||||
readingsBulkUpdate($hash, "playerPlaying", "no");
|
|
||||||
delete $hash->{READINGS}{$_} foreach (grep /player/, keys %{$hash->{READINGS}});
|
delete $hash->{READINGS}{$_} foreach (grep /player/, keys %{$hash->{READINGS}});
|
||||||
#readingsBulkUpdate($hash, "input", "-");
|
readingsBulkUpdate($hash, "playerPlaying", "no");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
readingsBulkUpdate($hash, "playerPlaying", "no");
|
|
||||||
delete $hash->{READINGS}{$_} foreach (grep /player/, keys %{$hash->{READINGS}});
|
delete $hash->{READINGS}{$_} foreach (grep /player/, keys %{$hash->{READINGS}});
|
||||||
#readingsBulkUpdate($hash, "input", "-");
|
readingsBulkUpdate($hash, "playerPlaying", "no");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elsif($cmd eq "homestatus")
|
elsif($cmd eq "homestatus")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user