Catch platform setup error (#1847)
parent
09693bf16c
commit
c89e9d87e8
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue