mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Do not turn on denonavr
receiver when changing the source (#110964)
This commit is contained in:
parent
f4fd3633b4
commit
3e5329d463
@ -451,9 +451,6 @@ class DenonDevice(MediaPlayerEntity):
|
|||||||
@async_log_errors
|
@async_log_errors
|
||||||
async def async_select_source(self, source: str) -> None:
|
async def async_select_source(self, source: str) -> None:
|
||||||
"""Select input source."""
|
"""Select input source."""
|
||||||
# Ensure that the AVR is turned on, which is necessary for input
|
|
||||||
# switch to work.
|
|
||||||
await self.async_turn_on()
|
|
||||||
await self._receiver.async_set_input_func(source)
|
await self._receiver.async_set_input_func(source)
|
||||||
|
|
||||||
@async_log_errors
|
@async_log_errors
|
||||||
|
Loading…
x
Reference in New Issue
Block a user