Upgrade black to 20.8b1 (#39287)
This commit is contained in:
parent
0d7eec710c
commit
1c2ebdf307
574 changed files with 4389 additions and 1725 deletions
|
@ -31,18 +31,34 @@ def async_reload(hass):
|
|||
|
||||
@bind_hass
|
||||
def set_group(
|
||||
hass, object_id, name=None, entity_ids=None, icon=None, add=None,
|
||||
hass,
|
||||
object_id,
|
||||
name=None,
|
||||
entity_ids=None,
|
||||
icon=None,
|
||||
add=None,
|
||||
):
|
||||
"""Create/Update a group."""
|
||||
hass.add_job(
|
||||
async_set_group, hass, object_id, name, entity_ids, icon, add,
|
||||
async_set_group,
|
||||
hass,
|
||||
object_id,
|
||||
name,
|
||||
entity_ids,
|
||||
icon,
|
||||
add,
|
||||
)
|
||||
|
||||
|
||||
@callback
|
||||
@bind_hass
|
||||
def async_set_group(
|
||||
hass, object_id, name=None, entity_ids=None, icon=None, add=None,
|
||||
hass,
|
||||
object_id,
|
||||
name=None,
|
||||
entity_ids=None,
|
||||
icon=None,
|
||||
add=None,
|
||||
):
|
||||
"""Create/Update a group."""
|
||||
data = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue