mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-18 22:56:31 +00:00
Fix wrong function for set profiles (#1600)
This commit is contained in:
parent
8e83e007e9
commit
24f7801ddc
@ -166,5 +166,5 @@ class APIAudio(CoreSysAttributes):
|
|||||||
body = await api_validate(SCHEMA_PROFILE, request)
|
body = await api_validate(SCHEMA_PROFILE, request)
|
||||||
|
|
||||||
await asyncio.shield(
|
await asyncio.shield(
|
||||||
self.sys_host.sound.set_profile(body[ATTR_CARD], body[ATTR_NAME])
|
self.sys_host.sound.ativate_profile(body[ATTR_CARD], body[ATTR_NAME])
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user