mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix LG webOS TV external arc volume set action (#136717)
This commit is contained in:
parent
658d3cf06e
commit
58f7dd5dcc
@ -228,7 +228,7 @@ class LgWebOSMediaPlayerEntity(RestoreEntity, MediaPlayerEntity):
|
|||||||
|
|
||||||
if self.state != MediaPlayerState.OFF or not self._supported_features:
|
if self.state != MediaPlayerState.OFF or not self._supported_features:
|
||||||
supported = SUPPORT_WEBOSTV
|
supported = SUPPORT_WEBOSTV
|
||||||
if self._client.sound_output in ("external_arc", "external_speaker"):
|
if self._client.sound_output == "external_speaker":
|
||||||
supported = supported | SUPPORT_WEBOSTV_VOLUME
|
supported = supported | SUPPORT_WEBOSTV_VOLUME
|
||||||
elif self._client.sound_output != "lineout":
|
elif self._client.sound_output != "lineout":
|
||||||
supported = (
|
supported = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user