(hass, connection, msg)
Handle get media player cover command.
Handle get media player cover command.
Handle get media player cover command .
async def acknowledge_critical_repository(hass, connection, msg):
    """Handle get media player cover command."""
    repository = msg["repository"]

    critical = await async_load_from_store(hass, "critical")
    for repo in critical:
        if repository == repo["repository"]:
            repo["acknowledged"] = True
    await async_save_to_store(hass, "critical", critical)
    connection.send_message(websocket_api.result_message(msg["id"], critical))
async def acknowledge_critical_repository ( hass , connection , msg ) : repository = msg [ "repository" ] critical = await async_load_from_store ( hass , "critical" ) for repo in critical : if repository == repo [ "repository" ] : repo [ "acknowledged" ] = True await async_save_to_store ( hass , "critical" , critical ) connection . send_message ( websocket_api . result_message ( msg [ "id" ] , critical ) )