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:
Erik Montnemery 2023-12-05 08:43:58 +01:00 committed by GitHub
parent a9381d2590
commit 84e74e4c74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 45 additions and 45 deletions

View file

@ -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")])