Upgrade black to 20.8b1 (#39287)
This commit is contained in:
1 parent
0d7eec710c
commit
1c2ebdf307
574 files changed
+4389
-1725
No files matched your search
@@ -76,7 +76,8 @@ def empty_value(value: Any) -> Any:
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
{
|
||||
vol.Optional(DOMAIN, default=[]): vol.Any(
|
||||
vol.All(cv.ensure_list, [vol.Schema(CREATE_FIELDS)]), empty_value,
|
||||
vol.All(cv.ensure_list, [vol.Schema(CREATE_FIELDS)]),
|
||||
empty_value,
|
||||
)
|
||||
},
|
||||
extra=vol.ALLOW_EXTRA,
|
||||
@@ -234,7 +235,10 @@ async def async_setup(hass: HomeAssistant, config: Dict) -> bool:
|
||||
if component.get_entity("zone.home"):
|
||||
return True
|
||||
|
||||
home_zone = Zone(_home_conf(hass), True,)
|
||||
home_zone = Zone(
|
||||
_home_conf(hass),
|
||||
True,
|
||||
)
|
||||
home_zone.entity_id = ENTITY_ID_HOME
|
||||
await component.async_add_entities([home_zone])
|
||||
|
||||
|
||||
Reference in new issue
Block a user