mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
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:
@@ -672,7 +672,7 @@ async def test_async_get_loaded_integrations(hass: HomeAssistant) -> None:
|
||||
hass.config.components.add("notbase.switch")
|
||||
hass.config.components.add("myintegration")
|
||||
hass.config.components.add("device_tracker")
|
||||
hass.config.components.add("device_tracker.other")
|
||||
hass.config.components.add("other.device_tracker")
|
||||
hass.config.components.add("myintegration.light")
|
||||
assert setup.async_get_loaded_integrations(hass) == {
|
||||
"other",
|
||||
@@ -729,9 +729,9 @@ async def test_async_start_setup(hass: HomeAssistant) -> None:
|
||||
|
||||
async def test_async_start_setup_platforms(hass: HomeAssistant) -> None:
|
||||
"""Test setup started context manager keeps track of setup times for platforms."""
|
||||
with setup.async_start_setup(hass, ["sensor.august"]):
|
||||
with setup.async_start_setup(hass, ["august.sensor"]):
|
||||
assert isinstance(
|
||||
hass.data[setup.DATA_SETUP_STARTED]["sensor.august"], datetime.datetime
|
||||
hass.data[setup.DATA_SETUP_STARTED]["august.sensor"], datetime.datetime
|
||||
)
|
||||
|
||||
assert "august" not in hass.data[setup.DATA_SETUP_STARTED]
|
||||
|
Reference in New Issue
Block a user