Allow embedded platforms (#19948)

* Allow embedded platforms

* Fix test
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2019-01-11 11:30:22 -08:00
1 parent b3a08d5876
commit a8f22287ca
6 files changed
+31 -8

No files matched your search

+2 -1
View File
@@ -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."""