We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ae2d1c commit 03dcd23Copy full SHA for 03dcd23
custom_components/extron/media_player.py
@@ -203,4 +203,5 @@ def create_source_bidict(self) -> bidict:
203
return make_source_bidict(num_sources, self._input_names)
204
205
async def async_select_source(self, source: str):
206
- await self._hdmi_switcher.select_input(self._source_bidict.inverse.get(source))
+ async with self._hdmi_switcher._device.connection():
207
+ await self._hdmi_switcher.select_input(self._source_bidict.inverse.get(source))
0 commit comments