mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Fix LG webOS TV external arc volume set action (#136717)
This commit is contained in:
@@ -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 = (
|
||||||
|
Reference in New Issue
Block a user