Catch platform setup error (#1847)
This commit is contained in:
parent
09693bf16c
commit
c89e9d87e8
1 changed files with 3 additions and 0 deletions
|
@ -79,6 +79,9 @@ class EntityComponent(object):
|
||||||
platform = prepare_setup_platform(
|
platform = prepare_setup_platform(
|
||||||
self.hass, self.config, self.domain, platform_type)
|
self.hass, self.config, self.domain, platform_type)
|
||||||
|
|
||||||
|
if platform is None:
|
||||||
|
return
|
||||||
|
|
||||||
# Config > Platform > Component
|
# Config > Platform > Component
|
||||||
scan_interval = platform_config.get(
|
scan_interval = platform_config.get(
|
||||||
CONF_SCAN_INTERVAL,
|
CONF_SCAN_INTERVAL,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue