mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
Catch platform setup error (#1847)
This commit is contained in:
parent
09693bf16c
commit
c89e9d87e8
@ -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…
x
Reference in New Issue
Block a user