Allow embedded platforms (#19948)
* Allow embedded platforms * Fix test
This commit is contained in:
1 parent
b3a08d5876
commit
a8f22287ca
6 files changed
+31
-8
No files matched your search
@@ -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