Catch platform setup error (#1847)

pull/1889/head
Paulus Schoutsen 2016-04-17 22:07:53 -07:00
parent 09693bf16c
commit c89e9d87e8
1 changed files with 3 additions and 0 deletions

View File

@ -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,