Fix wrong function for set profiles (#1600)

This commit is contained in:
Pascal Vizeli 2020-03-27 12:32:14 +01:00 committed by GitHub
parent 8e83e007e9
commit 24f7801ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -166,5 +166,5 @@ class APIAudio(CoreSysAttributes):
body = await api_validate(SCHEMA_PROFILE, request)
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])
)