flake8 correction

pull/1374/head
sander 2016-02-22 20:05:42 +01:00
parent fb449cbc82
commit e37c232bf6
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ def setup(hass, config):
for entry in config:
if DOMAIN in entry:
if not any(CONF_PLATFORM in key for key in config[entry]):
config[entry] = {'platform': 'homeassistant', 'config': config[entry]}
config[entry] = {'platform': 'homeassistant',
'config': config[entry]}
component = EntityComponent(logger, DOMAIN, hass)