mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Allow embedded platforms (#19948)
* Allow embedded platforms * Fix test
This commit is contained in:
@@ -190,7 +190,8 @@ async def async_prepare_setup_platform(hass: core.HomeAssistant, config: Dict,
|
||||
|
||||
This method is a coroutine.
|
||||
"""
|
||||
platform_path = PLATFORM_FORMAT.format(domain, platform_name)
|
||||
platform_path = PLATFORM_FORMAT.format(domain=domain,
|
||||
platform=platform_name)
|
||||
|
||||
def log_error(msg: str) -> None:
|
||||
"""Log helper."""
|
||||
|
||||
Reference in New Issue
Block a user