Fix callback and async (#31281)
* Fix callback and async * Fix a return * Fix test * Fix mqtt tests * Fix some more callbacks
This commit is contained in:
parent
ee602e40a6
commit
e9e44dbd97
90 changed files with 627 additions and 883 deletions
|
@ -59,6 +59,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
|||
server_id = config_entry.data[CONF_SERVER_IDENTIFIER]
|
||||
registry = await async_get_registry(hass)
|
||||
|
||||
@callback
|
||||
def async_new_media_players(new_entities):
|
||||
_async_add_entities(
|
||||
hass, registry, config_entry, async_add_entities, server_id, new_entities
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue