Suppress spurious homekit warning about media player sources when the device is off (#37567)
This commit is contained in:
parent
706bc4c307
commit
c989f6dc09
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ class TelevisionMediaPlayer(HomeAccessory):
|
|||
index = self.sources.index(source_name)
|
||||
if self.char_input_source.value != index:
|
||||
self.char_input_source.set_value(index)
|
||||
else:
|
||||
elif hk_state:
|
||||
_LOGGER.warning(
|
||||
"%s: Sources out of sync. Restart Home Assistant", self.entity_id,
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue