This commit is contained in:
chliny
2025-05-11 21:56:55 +08:00
commit 9aedcabdcc
6 changed files with 215 additions and 0 deletions
@@ -0,0 +1,16 @@
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant
DOMAIN = "tencentcloud_asr"
PLATFORMS = (Platform.STT,)
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry):
await hass.config_entries.async_forward_entry_setups(config_entry, PLATFORMS)
return True
async def async_unload_entry(hass: HomeAssistant, config_entry: ConfigEntry):
return await hass.config_entries.async_unload_platforms(config_entry, PLATFORMS)