Turn on denonavr receiver when a source is changed (#44473)
This commit is contained in:
parent
d95696e4f5
commit
13d6f5454d
1 changed files with 3 additions and 0 deletions
|
@ -338,6 +338,9 @@ class DenonDevice(MediaPlayerEntity):
|
||||||
|
|
||||||
def select_source(self, source):
|
def select_source(self, source):
|
||||||
"""Select input source."""
|
"""Select input source."""
|
||||||
|
# Ensure that the AVR is turned on, which is necessary for input
|
||||||
|
# switch to work.
|
||||||
|
self.turn_on()
|
||||||
return self._receiver.set_input_func(source)
|
return self._receiver.set_input_func(source)
|
||||||
|
|
||||||
def select_sound_mode(self, sound_mode):
|
def select_sound_mode(self, sound_mode):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue