mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Catch platform setup error (#1847)
This commit is contained in:
@ -79,6 +79,9 @@ class EntityComponent(object):
|
||||
platform = prepare_setup_platform(
|
||||
self.hass, self.config, self.domain, platform_type)
|
||||
|
||||
if platform is None:
|
||||
return
|
||||
|
||||
# Config > Platform > Component
|
||||
scan_interval = platform_config.get(
|
||||
CONF_SCAN_INTERVAL,
|
||||
|
Reference in New Issue
Block a user