mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-16 13:46:31 +00:00
Fix setting audio profile (#2934)
This commit is contained in:
parent
e85d7c3d2e
commit
e629bab8ee
@ -202,7 +202,7 @@ class SoundControl(CoreSysAttributes):
|
||||
def _activate_profile():
|
||||
try:
|
||||
with Pulse(PULSE_NAME) as pulse:
|
||||
card = pulse.get_sink_by_name(card_name)
|
||||
card = pulse.get_card_by_name(card_name)
|
||||
pulse.card_profile_set(card, profile_name)
|
||||
|
||||
except PulseIndexError as err:
|
||||
|
Loading…
x
Reference in New Issue
Block a user