mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Allow empty config in discovery.async_load_platform (#69619)
This commit is contained in:
@@ -146,7 +146,7 @@ async def async_load_platform(
|
||||
Warning: Do not await this inside a setup method to avoid a dead lock.
|
||||
Use `hass.async_create_task(async_load_platform(..))` instead.
|
||||
"""
|
||||
assert hass_config, "You need to pass in the real hass config"
|
||||
assert hass_config is not None, "You need to pass in the real hass config"
|
||||
|
||||
setup_success = True
|
||||
|
||||
|
Reference in New Issue
Block a user