mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 07:28:10 +01:00
Lint
This commit is contained in:
parent
2c14d134be
commit
8ef0f5b047
1 changed files with 2 additions and 2 deletions
|
@ -1170,8 +1170,8 @@ class OnlyWith(Optional):
|
||||||
# pylint: disable=unsupported-membership-test
|
# pylint: disable=unsupported-membership-test
|
||||||
if (self._component in CORE.raw_config or
|
if (self._component in CORE.raw_config or
|
||||||
(CONF_PACKAGES in CORE.raw_config and
|
(CONF_PACKAGES in CORE.raw_config and
|
||||||
self._component in
|
self._component in
|
||||||
{list(x.keys())[0] for x in CORE.raw_config[CONF_PACKAGES].values()})):
|
{list(x.keys())[0] for x in CORE.raw_config[CONF_PACKAGES].values()})):
|
||||||
return self._default
|
return self._default
|
||||||
return vol.UNDEFINED
|
return vol.UNDEFINED
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue