Reverse component path (#104087)
* Reverse component path * Update translations helper * Fix * Revert incorrect change of PLATFORM_FORMAT * Fix use of PLATFORM_FORMAT in tts * Fix ios
This commit is contained in:
parent
a9381d2590
commit
84e74e4c74
17 changed files with 45 additions and 45 deletions
|
@ -150,7 +150,7 @@ async def test_restore_state(
|
|||
async def test_setup_component(hass: HomeAssistant, setup: str) -> None:
|
||||
"""Set up a TTS platform with defaults."""
|
||||
assert hass.services.has_service(tts.DOMAIN, "clear_cache")
|
||||
assert f"{tts.DOMAIN}.test" in hass.config.components
|
||||
assert f"test.{tts.DOMAIN}" in hass.config.components
|
||||
|
||||
|
||||
@pytest.mark.parametrize("init_tts_cache_dir_side_effect", [OSError(2, "No access")])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue